#B666EB#B666EB

#B666EB is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.7% C 0.200 H 309.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B666EB
RGBrgb(182, 102, 235)
HSLhsl(276, 77%, 66%)
HSVhsv(276, 57%, 92%)
CMYKcmyk(22.6%, 56.6%, 0%, 7.8%)
CIE-LABlab(57.51, 54.81, -54.81)
CIE-LCHlch(57.51, 77.51, 315.00°)
OKLaboklab(65.7% 0.1281 -0.154)
OKLCHoklch(65.7% 0.2 309.7)
XYZxyz(39.0353, 25.4467, 81.4365)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B666EB #9BEB66
analogous
#7366EB #B666EB #EB66DE
triadic
#B666EB #EBB666 #66EBB6
tetradic
#B666EB #EB7366 #9BEB66 #66DEEB
square
#B666EB #EB7366 #9BEB66 #66DEEB
split-complementary
#B666EB #DEEB66 #66EB73
monochromatic
#7C19BE #9C30E4 #B666EB #D09CF2 #EAD2F9

Accessibility & contrast

On white

3.45
#B666EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B666EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B666EB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B666EB#FFFFFF#000000##000000
##B666EB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#588BE8
Tritanopia (blue-blind)
#AF7E9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b666eb;
/* rgb */ color: rgb(182, 102, 235);
/* oklch */ color: oklch(65.7% 0.200 309.7);
Tailwind
colors: {
  custom: {
    50: '#cf95f2',
    500: '#b666eb',
    950: '#000000',
  },
}
SCSS
$custom: #b666eb;
$custom-light: #cf95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b666eb",
  "rgb": {
    "r": 182,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 276.09,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65695,
    "c": 0.20032,
    "h": 309.7
  },
  "luminance": 0.25446
}

Semantic roles & 50–950 ramp

primary
#B666EB
secondary
#D2ECC1
accent
#D90C5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B666EB

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

Preview Lab → · Contrast checker → · Palette generator →

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