#BA55D3

#BA55D3 is the hex color MediumOrchid. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #BA55D3; the exact match is MediumOrchid.

Open #BA55D3 in the picker

#BA55D3 color codes

HEX
#BA55D3
HEX8
#BA55D3FF
HEX8 (Android)
#FFBA55D3
RGB
rgb(186, 85, 211)
RGB (%)
73%, 33%, 83%
HSL
hsl(288, 59%, 58%)
HSV / HSB
hsv(288, 60%, 83%)
CMYK
cmyk(12%, 60%, 0%, 17%)
OKLCH
oklch(0.6256 0.2024 319.23)
OKLCH (%)
oklch(62.56% 0.2024 319.23)
Decimal
12211667

What color is #BA55D3?

#BA55D3 sits at 63% lightness and 0.2024 chroma in OKLCH, hue 319.23°. Its nearest named color is MediumOrchid (an exact match).

Shades and tints of #BA55D3

Tints

Shades

Tones

#BA55D3 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #BA55D3 in CSS

.text       { color: #BA55D3; }
.background { background-color: #BA55D3; }
.border     { border: 2px solid #BA55D3; }

/* Modern, perceptually uniform */
.text { color: oklch(0.6256 0.2024 319.23); }

/* #BA55D3 at 50% transparency */
.overlay { background-color: #BA55D380; }

Is #BA55D3 accessible?

#BA55D3 on white text scores 3.94:1; on black text it scores 5.33:1. Black text passes WCAG AA for normal text on #BA55D3. Recommended text color on a #BA55D3 background: black.

A 5.33:1 vs black
A 3.94:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Fail
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#BA55D3) → black
APCA Lc experimental 71.7 Lc · large / secondary text (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Purple #800080. See more in the purple family on the colors hub.

Frequently asked questions

What color is #BA55D3?
#BA55D3 is MediumOrchid. In RGB it is rgb(186, 85, 211), and in HSL hsl(288, 59%, 58%).
What is #BA55D3 in RGB?
#BA55D3 converts to rgb(186, 85, 211) — red 186, green 85, blue 211.
What text color is readable on #BA55D3?
Black text — it has the higher contrast ratio (5.33:1) against #BA55D3. Black text passes WCAG AA for normal text on #BA55D3.
Open #BA55D3 in the picker