#B66BEE#B66BEE

#B66BEE is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.6% C 0.196 H 308.4°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B66BEE
RGBrgb(182, 107, 238)
HSLhsl(274, 79%, 68%)
HSVhsv(274, 55%, 93%)
CMYKcmyk(23.5%, 55%, 0%, 6.7%)
CIE-LABlab(58.63, 52.93, -54.68)
CIE-LCHlch(58.63, 76.10, 314.07°)
OKLaboklab(66.57% 0.1219 -0.1537)
OKLCHoklch(66.57% 0.196 308.4)
XYZxyz(39.9787, 26.6341, 83.9072)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66BEE #A3EE6B
analogous
#746BEE #B66BEE #EE6BE5
triadic
#B66BEE #EEB66B #6BEEB6
tetradic
#B66BEE #EE746B #A3EE6B #6BE5EE
square
#B66BEE #EE746B #A3EE6B #6BE5EE
split-complementary
#B66BEE #E5EE6B #6BEE74
monochromatic
#7C17C8 #9B34E8 #B66BEE #D1A2F4 #ECD9FB

Accessibility & contrast

On white

3.32
#B66BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#B66BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66BEE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66BEE#FFFFFF#000000##000000
##B66BEE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#5B8EEB
Tritanopia (blue-blind)
#AE83A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b66bee;
/* rgb */ color: rgb(182, 107, 238);
/* oklch */ color: oklch(66.6% 0.196 308.4);
Tailwind
colors: {
  custom: {
    50: '#cf98f4',
    500: '#b66bee',
    950: '#000000',
  },
}
SCSS
$custom: #b66bee;
$custom-light: #cf98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b66bee",
  "rgb": {
    "r": 182,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 274.351,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66575,
    "c": 0.19616,
    "h": 308.4
  },
  "luminance": 0.26634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B66BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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