#B866DB#B866DB

#B866DB is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.0% C 0.184 H 314.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B866DB
RGBrgb(184, 102, 219)
HSLhsl(282, 62%, 63%)
HSVhsv(282, 53%, 86%)
CMYKcmyk(16%, 53.4%, 0%, 14.1%)
CIE-LABlab(56.89, 51.90, -46.80)
CIE-LCHlch(56.89, 69.89, 317.96°)
OKLaboklab(65.02% 0.1296 -0.1306)
OKLCHoklch(65.02% 0.184 314.8)
XYZxyz(37.3027, 24.8087, 69.8276)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866DB #89DB66
analogous
#7D66DB #B866DB #DB66C4
triadic
#B866DB #DBB866 #66DBB8
tetradic
#B866DB #DB7D66 #89DB66 #66C4DB
square
#B866DB #DB7D66 #89DB66 #66C4DB
split-complementary
#B866DB #C4DB66 #66DB7D
monochromatic
#7C26A1 #A134CF #B866DB #CF98E7 #E6C9F2

Accessibility & contrast

On white

3.52
#B866DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B866DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866DB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866DB#FFFFFF#000000##000000
##B866DB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#658BD8
Tritanopia (blue-blind)
#B67997
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b866db;
/* rgb */ color: rgb(184, 102, 219);
/* oklch */ color: oklch(65.0% 0.184 314.8);
Tailwind
colors: {
  custom: {
    50: '#d095e6',
    500: '#b866db',
    950: '#000000',
  },
}
SCSS
$custom: #b866db;
$custom-light: #d095e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b866db",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 282.051,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65015,
    "c": 0.18404,
    "h": 314.8
  },
  "luminance": 0.24808
}

Semantic roles & 50–950 ramp

primary
#B866DB
secondary
#C6E3B9
accent
#CA1C50
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B866DB

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

Preview Lab → · Contrast checker → · Palette generator →

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