#B866EC#B866EC

#B866EC is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.202 H 310.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B866EC
RGBrgb(184, 102, 236)
HSLhsl(277, 78%, 66%)
HSVhsv(277, 57%, 93%)
CMYKcmyk(22%, 56.8%, 0%, 7.5%)
CIE-LABlab(57.80, 55.52, -54.89)
CIE-LCHlch(57.80, 78.07, 315.33°)
OKLaboklab(65.98% 0.1306 -0.1542)
OKLCHoklch(65.98% 0.202 310.3)
XYZxyz(39.6560, 25.7500, 82.2218)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866EC #9AEC66
analogous
#7566EC #B866EC #EC66DD
triadic
#B866EC #ECB866 #66ECB8
tetradic
#B866EC #EC7566 #9AEC66 #66DDEC
square
#B866EC #EC7566 #9AEC66 #66DDEC
split-complementary
#B866EC #DDEC66 #66EC75
monochromatic
#7F18C0 #9F30E5 #B866EC #D19CF3 #EBD3FA

Accessibility & contrast

On white

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

On black

6.15
#B866EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866EC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866EC#FFFFFF#000000##000000
##B866EC1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#598CE9
Tritanopia (blue-blind)
#B17E9F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b866ec;
/* rgb */ color: rgb(184, 102, 236);
/* oklch */ color: oklch(66.0% 0.202 310.3);
Tailwind
colors: {
  custom: {
    50: '#d095f3',
    500: '#b866ec',
    950: '#000000',
  },
}
SCSS
$custom: #b866ec;
$custom-light: #d095f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b866ec",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 276.716,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65978,
    "c": 0.20205,
    "h": 310.3
  },
  "luminance": 0.25749
}

Semantic roles & 50–950 ramp

primary
#B866EC
secondary
#D2EDC1
accent
#DA0B5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B866EC

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

Preview Lab → · Contrast checker → · Palette generator →

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