#B866ED#B866ED

#B866ED is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.0% C 0.203 H 310.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B866ED
RGBrgb(184, 102, 237)
HSLhsl(276, 79%, 66%)
HSVhsv(276, 57%, 93%)
CMYKcmyk(22.4%, 57%, 0%, 7.1%)
CIE-LABlab(57.85, 55.74, -55.36)
CIE-LCHlch(57.85, 78.55, 315.20°)
OKLaboklab(66.04% 0.1306 -0.1556)
OKLCHoklch(66.04% 0.203 310)
XYZxyz(39.8017, 25.8083, 82.9891)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866ED #9BED66
analogous
#7566ED #B866ED #ED66DF
triadic
#B866ED #EDB866 #66EDB8
tetradic
#B866ED #ED7566 #9BED66 #66DFED
square
#B866ED #ED7566 #9BED66 #66DFED
split-complementary
#B866ED #DFED66 #66ED75
monochromatic
#7F17C2 #9F2FE7 #B866ED #D19DF3 #EBD4FA

Accessibility & contrast

On white

3.41
#B866ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B866ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866ED
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866ED#FFFFFF#000000##000000
##B866ED1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F1
Deuteranopia (green-blind)
#588CEA
Tritanopia (blue-blind)
#B17FA0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b866ed;
/* rgb */ color: rgb(184, 102, 237);
/* oklch */ color: oklch(66.0% 0.203 310.0);
Tailwind
colors: {
  custom: {
    50: '#d095f3',
    500: '#b866ed',
    950: '#000000',
  },
}
SCSS
$custom: #b866ed;
$custom-light: #d095f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b866ed",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 276.444,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66036,
    "c": 0.20312,
    "h": 310
  },
  "luminance": 0.25808
}

Semantic roles & 50–950 ramp

primary
#B866ED
secondary
#D3EDC2
accent
#DB0A5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B866ED

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

Preview Lab → · Contrast checker → · Palette generator →

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