#B866DC#B866DC

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

Color values

HEX#B866DC
RGBrgb(184, 102, 220)
HSLhsl(282, 63%, 63%)
HSVhsv(282, 54%, 86%)
CMYKcmyk(16.4%, 53.6%, 0%, 13.7%)
CIE-LABlab(56.94, 52.11, -47.28)
CIE-LCHlch(56.94, 70.36, 317.78°)
OKLaboklab(65.07% 0.1297 -0.132)
OKLCHoklch(65.07% 0.185 314.5)
XYZxyz(37.4347, 24.8615, 70.5230)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866DC #8ADC66
analogous
#7D66DC #B866DC #DC66C5
triadic
#B866DC #DCB866 #66DCB8
tetradic
#B866DC #DC7D66 #8ADC66 #66C5DC
square
#B866DC #DC7D66 #8ADC66 #66C5DC
split-complementary
#B866DC #C5DC66 #66DC7D
monochromatic
#7C25A2 #A134D1 #B866DC #CF98E7 #E6CAF3

Accessibility & contrast

On white

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

On black

5.97
#B866DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866DC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866DC#FFFFFF#000000##000000
##B866DC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#648BD9
Tritanopia (blue-blind)
#B57997
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b866dc;
/* rgb */ color: rgb(184, 102, 220);
/* oklch */ color: oklch(65.1% 0.185 314.5);
Tailwind
colors: {
  custom: {
    50: '#d095e7',
    500: '#b866dc',
    950: '#000000',
  },
}
SCSS
$custom: #b866dc;
$custom-light: #d095e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b866dc",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 281.695,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6507,
    "c": 0.18509,
    "h": 314.5
  },
  "luminance": 0.2486
}

Semantic roles & 50–950 ramp

primary
#B866DC
secondary
#C7E4BA
accent
#CB1B51
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B866DC

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

Preview Lab → · Contrast checker → · Palette generator →

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