#BB66EA

A color in the Purple, Crimson, Magenta family

#bb66ea is a color in the Purple, Crimson, Magenta family: RGB(187, 102, 234), HSL(279°, 76%, 66%), CMYK(20%, 56%, 0%, 8%). Closest named color: mediumorchid. Contrast is 3.39:1 on white and 6.2:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bb66ea
RGBrgb(187 102 234)
RGB (legacy)rgb(187, 102, 234)
RGB %rgb(73% 40% 92%)
HSLhsl(279 76% 66%)
HSV / HSBhsv(279, 56%, 92%)
HWBhwb(279 40% 8%)
CMYKcmyk(20%, 56%, 0%, 8%)
CIELAB (D50)lab(57.63 51.01 -53.64)
LCHlch(57.63 74.02 313.56)
OKLaboklab(0.662 0.1341 -0.1496)
OKLCHoklch(0.662 0.201 311.87)
Decimal12281578

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.5
Closest web-safe color#cc66ff
Hue279°
Saturation (HSL / HSV)76% / 56%
Lightness (HSL)66%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)56% / 51%
Relative luminance (WCAG)0.2601
Red / Green / Blue187 / 102 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.39:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.20: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 60.9 / -40.8 · As background with white / black text: Lc -66.3 / 43.2

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: #bb66ea;
  --color-brand-oklch: oklch(66.2% 0.201 311.87);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 102 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb66ea] text-[#bb66ea] border-[#bb66ea]">