#B66CEE#B66CEE

#B66CEE is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.7% C 0.195 H 308.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B66CEE
RGBrgb(182, 108, 238)
HSLhsl(274, 79%, 68%)
HSVhsv(274, 55%, 93%)
CMYKcmyk(23.5%, 54.6%, 0%, 6.7%)
CIE-LABlab(58.83, 52.41, -54.37)
CIE-LCHlch(58.83, 75.52, 313.95°)
OKLaboklab(66.72% 0.1206 -0.1528)
OKLCHoklch(66.72% 0.195 308.3)
XYZxyz(40.0835, 26.8438, 83.9421)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66CEE #A4EE6C
analogous
#756CEE #B66CEE #EE6CE5
triadic
#B66CEE #EEB66C #6CEEB6
tetradic
#B66CEE #EE756C #A4EE6C #6CE5EE
square
#B66CEE #EE756C #A4EE6C #6CE5EE
split-complementary
#B66CEE #E5EE6C #6CEE75
monochromatic
#7C17C8 #9B35E8 #B66CEE #D1A3F4 #ECDAFB

Accessibility & contrast

On white

3.30
#B66CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B66CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66CEE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66CEE#FFFFFF#000000##000000
##B66CEE1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF2
Deuteranopia (green-blind)
#5C8EEB
Tritanopia (blue-blind)
#AE84A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b66cee;
/* rgb */ color: rgb(182, 108, 238);
/* oklch */ color: oklch(66.7% 0.195 308.3);
Tailwind
colors: {
  custom: {
    50: '#cf99f4',
    500: '#b66cee',
    950: '#000000',
  },
}
SCSS
$custom: #b66cee;
$custom-light: #cf99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b66cee",
  "rgb": {
    "r": 182,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 274.154,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66718,
    "c": 0.19466,
    "h": 308.3
  },
  "luminance": 0.26843
}

Semantic roles & 50–950 ramp

primary
#B66CEE
secondary
#D8EFC7
accent
#DC0A64
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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