#B866CA#B866CA

#B866CA is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.1% C 0.166 H 320.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B866CA
RGBrgb(184, 102, 202)
HSLhsl(289, 49%, 60%)
HSVhsv(289, 50%, 79%)
CMYKcmyk(8.9%, 49.5%, 0%, 20.8%)
CIE-LABlab(56.05, 48.44, -38.50)
CIE-LCHlch(56.05, 61.88, 321.52°)
OKLaboklab(64.12% 0.1278 -0.1065)
OKLCHoklch(64.12% 0.166 320.2)
XYZxyz(35.1779, 23.9587, 58.6371)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866CA #78CA66
analogous
#8666CA #B866CA #CA66AA
triadic
#B866CA #CAB866 #66CAB8
tetradic
#B866CA #CA8666 #78CA66 #66AACA
square
#B866CA #CA8666 #78CA66 #66AACA
split-complementary
#B866CA #AACA66 #66CA86
monochromatic
#772F87 #9F3EB4 #B866CA #CD93DA #E2C1E9

Accessibility & contrast

On white

3.63
#B866CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B866CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866CA#FFFFFF#000000##000000
##B866CA1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CD
Deuteranopia (green-blind)
#6E89C7
Tritanopia (blue-blind)
#B9748F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b866ca;
/* rgb */ color: rgb(184, 102, 202);
/* oklch */ color: oklch(64.1% 0.166 320.2);
Tailwind
colors: {
  custom: {
    50: '#cf94da',
    500: '#b866ca',
    950: '#000000',
  },
}
SCSS
$custom: #b866ca;
$custom-light: #cf94da;
$custom-dark: #000000;
JSON
{
  "hex": "#b866ca",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 289.2,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64119,
    "c": 0.16641,
    "h": 320.2
  },
  "luminance": 0.23957
}

Semantic roles & 50–950 ramp

primary
#B866CA
secondary
#B9D9B2
accent
#D85068
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B866CA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B866CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva