#B866DD#B866DD

#B866DD is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.1% C 0.186 H 314.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B866DD
RGBrgb(184, 102, 221)
HSLhsl(281, 64%, 63%)
HSVhsv(281, 54%, 87%)
CMYKcmyk(16.7%, 53.8%, 0%, 13.3%)
CIE-LABlab(56.99, 52.32, -47.76)
CIE-LCHlch(56.99, 70.84, 317.61°)
OKLaboklab(65.13% 0.1298 -0.1334)
OKLCHoklch(65.13% 0.186 314.2)
XYZxyz(37.5675, 24.9146, 71.2226)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866DD #8BDD66
analogous
#7C66DD #B866DD #DD66C6
triadic
#B866DD #DDB866 #66DDB8
tetradic
#B866DD #DD7C66 #8BDD66 #66C6DD
square
#B866DD #DD7C66 #8BDD66 #66C6DD
split-complementary
#B866DD #C6DD66 #66DD7C
monochromatic
#7C24A4 #A134D2 #B866DD #CF98E8 #E6CAF3

Accessibility & contrast

On white

3.51
#B866DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B866DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866DD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866DD#FFFFFF#000000##000000
##B866DD1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#638BDA
Tritanopia (blue-blind)
#B57998
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b866dd;
/* rgb */ color: rgb(184, 102, 221);
/* oklch */ color: oklch(65.1% 0.186 314.2);
Tailwind
colors: {
  custom: {
    50: '#d095e8',
    500: '#b866dd',
    950: '#000000',
  },
}
SCSS
$custom: #b866dd;
$custom-light: #d095e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b866dd",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 281.345,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65125,
    "c": 0.18614,
    "h": 314.2
  },
  "luminance": 0.24914
}

Semantic roles & 50–950 ramp

primary
#B866DD
secondary
#C7E5BA
accent
#CB1A51
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B866DD

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

Preview Lab → · Contrast checker → · Palette generator →

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