#BA67BB

A color in the Purple, Crimson, Magenta family

#ba67bb is a color in the Purple, Crimson, Magenta family: RGB(186, 103, 187), HSL(299°, 38%, 57%), CMYK(1%, 45%, 0%, 27%). Closest named color: mediumorchid. Contrast is 3.66:1 on white and 5.75:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ba67bb
RGBrgb(186 103 187)
RGB (legacy)rgb(186, 103, 187)
RGB %rgb(73% 40% 73%)
HSLhsl(299 38% 57%)
HSV / HSBhsv(299, 45%, 73%)
HWBhwb(299 40% 27%)
CMYKcmyk(1%, 45%, 0%, 27%)
CIELAB (D50)lab(55.75 43.1 -30.05)
LCHlch(55.75 52.54 325.11)
OKLaboklab(0.6378 0.1263 -0.0829)
OKLCHoklch(0.6378 0.1511 326.74)
Decimal12216251

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.8
Closest web-safe color#cc66cc
Hue299°
Saturation (HSL / HSV)38% / 45%
Lightness (HSL)57%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)54% / 50%
Relative luminance (WCAG)0.2373
Red / Green / Blue186 / 103 / 187

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.66:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.75: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 63.8 / -37.9 · As background with white / black text: Lc -69.3 / 40.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: #ba67bb;
  --color-brand-oklch: oklch(63.78% 0.1511 326.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 103 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba67bb] text-[#ba67bb] border-[#ba67bb]">