#B866EF#B866EF

#B866EF is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.2% C 0.205 H 309.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B866EF
RGBrgb(184, 102, 239)
HSLhsl(276, 81%, 67%)
HSVhsv(276, 57%, 94%)
CMYKcmyk(23%, 57.3%, 0%, 6.3%)
CIE-LABlab(57.97, 56.17, -56.29)
CIE-LCHlch(57.97, 79.52, 314.94°)
OKLaboklab(66.15% 0.1306 -0.1583)
OKLCHoklch(66.15% 0.205 309.5)
XYZxyz(40.0955, 25.9258, 84.5366)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866EF #9DEF66
analogous
#7466EF #B866EF #EF66E2
triadic
#B866EF #EFB866 #66EFB8
tetradic
#B866EF #EF7466 #9DEF66 #66E2EF
square
#B866EF #EF7466 #9DEF66 #66E2EF
split-complementary
#B866EF #E2EF66 #66EF74
monochromatic
#7F15C6 #9E2FE9 #B866EF #D29DF5 #EBD5FB

Accessibility & contrast

On white

3.40
#B866EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B866EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866EF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866EF#FFFFFF#000000##000000
##B866EF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#568DEC
Tritanopia (blue-blind)
#B17FA1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b866ef;
/* rgb */ color: rgb(184, 102, 239);
/* oklch */ color: oklch(66.2% 0.205 309.5);
Tailwind
colors: {
  custom: {
    50: '#d195f5',
    500: '#b866ef',
    950: '#000000',
  },
}
SCSS
$custom: #b866ef;
$custom-light: #d195f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b866ef",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 275.912,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.20524,
    "h": 309.5
  },
  "luminance": 0.25925
}

Semantic roles & 50–950 ramp

primary
#B866EF
secondary
#D4EEC2
accent
#DD085E
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B866EF

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

Preview Lab → · Contrast checker → · Palette generator →

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