#BA67CD

A color in the Purple, Crimson, Magenta family

#ba67cd is a color in the Purple, Crimson, Magenta family: RGB(186, 103, 205), HSL(289°, 50%, 60%), CMYK(9%, 50%, 0%, 20%). Closest named color: mediumorchid. Contrast is 3.55:1 on white and 5.91:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ba67cd
RGBrgb(186 103 205)
RGB (legacy)rgb(186, 103, 205)
RGB %rgb(73% 40% 80%)
HSLhsl(289 50% 60%)
HSV / HSBhsv(289, 50%, 80%)
HWBhwb(289 40% 20%)
CMYKcmyk(9%, 50%, 0%, 20%)
CIELAB (D50)lab(56.44 45.69 -39.23)
LCHlch(56.44 60.23 319.35)
OKLaboklab(0.6465 0.1292 -0.1087)
OKLCHoklch(0.6465 0.1689 319.92)
Decimal12216269

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4
Closest web-safe color#cc66cc
Hue289°
Saturation (HSL / HSV)50% / 50%
Lightness (HSL)60%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)55% / 50%
Relative luminance (WCAG)0.2455
Red / Green / Blue186 / 103 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.55:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.91:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 62.8 / -38.9 · As background with white / black text: Lc -68.2 / 41.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ba67cd;
  --color-brand-oklch: oklch(64.65% 0.1689 319.92);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 103 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba67cd] text-[#ba67cd] border-[#ba67cd]">