#B666EA#B666EA

#B666EA is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.6% C 0.199 H 310.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B666EA
RGBrgb(182, 102, 234)
HSLhsl(276, 76%, 66%)
HSVhsv(276, 56%, 92%)
CMYKcmyk(22.2%, 56.4%, 0%, 8.2%)
CIE-LABlab(57.45, 54.59, -54.34)
CIE-LCHlch(57.45, 77.03, 315.14°)
OKLaboklab(65.64% 0.1281 -0.1526)
OKLCHoklch(65.64% 0.199 310)
XYZxyz(38.8912, 25.3891, 80.6778)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B666EA #9AEA66
analogous
#7466EA #B666EA #EA66DC
triadic
#B666EA #EAB666 #66EAB6
tetradic
#B666EA #EA7466 #9AEA66 #66DCEA
square
#B666EA #EA7466 #9AEA66 #66DCEA
split-complementary
#B666EA #DCEA66 #66EA74
monochromatic
#7C1ABC #9C30E3 #B666EA #D09CF1 #E9D2F9

Accessibility & contrast

On white

3.46
#B666EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B666EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B666EA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B666EA#FFFFFF#000000##000000
##B666EA1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#AF7E9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b666ea;
/* rgb */ color: rgb(182, 102, 234);
/* oklch */ color: oklch(65.6% 0.199 310.0);
Tailwind
colors: {
  custom: {
    50: '#cf95f1',
    500: '#b666ea',
    950: '#000000',
  },
}
SCSS
$custom: #b666ea;
$custom-light: #cf95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b666ea",
  "rgb": {
    "r": 182,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 276.364,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65637,
    "c": 0.19925,
    "h": 310
  },
  "luminance": 0.25388
}

Semantic roles & 50–950 ramp

primary
#B666EA
secondary
#D1ECC0
accent
#D80D5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B666EA

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

Preview Lab → · Contrast checker → · Palette generator →

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