#B866EB#B866EB

#B866EB is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.9% C 0.201 H 310.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B866EB
RGBrgb(184, 102, 235)
HSLhsl(277, 77%, 66%)
HSVhsv(277, 57%, 92%)
CMYKcmyk(21.7%, 56.6%, 0%, 7.8%)
CIE-LABlab(57.74, 55.30, -54.42)
CIE-LCHlch(57.74, 77.59, 315.46°)
OKLaboklab(65.92% 0.1305 -0.1528)
OKLCHoklch(65.92% 0.201 310.5)
XYZxyz(39.5111, 25.6920, 81.4588)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866EB #99EB66
analogous
#7566EB #B866EB #EB66DC
triadic
#B866EB #EBB866 #66EBB8
tetradic
#B866EB #EB7566 #99EB66 #66DCEB
square
#B866EB #EB7566 #99EB66 #66DCEB
split-complementary
#B866EB #DCEB66 #66EB75
monochromatic
#7F19BE #9F30E4 #B866EB #D19CF2 #EAD2F9

Accessibility & contrast

On white

3.42
#B866EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B866EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866EB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866EB#FFFFFF#000000##000000
##B866EB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#B27E9F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b866eb;
/* rgb */ color: rgb(184, 102, 235);
/* oklch */ color: oklch(65.9% 0.201 310.5);
Tailwind
colors: {
  custom: {
    50: '#d095f2',
    500: '#b866eb',
    950: '#000000',
  },
}
SCSS
$custom: #b866eb;
$custom-light: #d095f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b866eb",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 276.992,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65919,
    "c": 0.20098,
    "h": 310.5
  },
  "luminance": 0.25691
}

Semantic roles & 50–950 ramp

primary
#B866EB
secondary
#D1ECC1
accent
#D90C5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B866EB

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

Preview Lab → · Contrast checker → · Palette generator →

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