#B866DF#B866DF

#B866DF is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.2% C 0.188 H 313.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B866DF
RGBrgb(184, 102, 223)
HSLhsl(281, 65%, 64%)
HSVhsv(281, 54%, 87%)
CMYKcmyk(17.5%, 54.3%, 0%, 12.5%)
CIE-LABlab(57.10, 52.74, -48.72)
CIE-LCHlch(57.10, 71.80, 317.27°)
OKLaboklab(65.24% 0.1299 -0.1362)
OKLCHoklch(65.24% 0.188 313.7)
XYZxyz(37.8356, 25.0218, 72.6343)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866DF #8DDF66
analogous
#7B66DF #B866DF #DF66C9
triadic
#B866DF #DFB866 #66DFB8
tetradic
#B866DF #DF7B66 #8DDF66 #66C9DF
square
#B866DF #DF7B66 #8DDF66 #66C9DF
split-complementary
#B866DF #C9DF66 #66DF7B
monochromatic
#7D23A8 #A133D4 #B866DF #CF99EA #E7CBF4

Accessibility & contrast

On white

3.50
#B866DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B866DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866DF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866DF#FFFFFF#000000##000000
##B866DF1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#628BDC
Tritanopia (blue-blind)
#B57A99
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b866df;
/* rgb */ color: rgb(184, 102, 223);
/* oklch */ color: oklch(65.2% 0.188 313.7);
Tailwind
colors: {
  custom: {
    50: '#d095e9',
    500: '#b866df',
    950: '#000000',
  },
}
SCSS
$custom: #b866df;
$custom-light: #d095e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b866df",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 280.661,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65236,
    "c": 0.18825,
    "h": 313.7
  },
  "luminance": 0.25021
}

Semantic roles & 50–950 ramp

primary
#B866DF
secondary
#C9E6BB
accent
#CD1853
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B866DF

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

Preview Lab → · Contrast checker → · Palette generator →

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