#B666E8#B666E8

#B666E8 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.5% C 0.197 H 310.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B666E8
RGBrgb(182, 102, 232)
HSLhsl(277, 74%, 65%)
HSVhsv(277, 56%, 91%)
CMYKcmyk(21.6%, 56%, 0%, 9%)
CIE-LABlab(57.34, 54.16, -53.39)
CIE-LCHlch(57.34, 76.05, 315.41°)
OKLaboklab(65.52% 0.128 -0.1499)
OKLCHoklch(65.52% 0.197 310.5)
XYZxyz(38.6055, 25.2748, 79.1731)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B666E8 #98E866
analogous
#7566E8 #B666E8 #E866D9
triadic
#B666E8 #E8B666 #66E8B6
tetradic
#B666E8 #E87566 #98E866 #66D9E8
square
#B666E8 #E87566 #98E866 #66D9E8
split-complementary
#B666E8 #D9E866 #66E875
monochromatic
#7C1CB8 #9D31E0 #B666E8 #CF9BF0 #E9D0F8

Accessibility & contrast

On white

3.47
#B666E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B666E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B666E8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B666E8#FFFFFF#000000##000000
##B666E81.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86EC
Deuteranopia (green-blind)
#5A8BE5
Tritanopia (blue-blind)
#B07D9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b666e8;
/* rgb */ color: rgb(182, 102, 232);
/* oklch */ color: oklch(65.5% 0.197 310.5);
Tailwind
colors: {
  custom: {
    50: '#cf95f0',
    500: '#b666e8',
    950: '#000000',
  },
}
SCSS
$custom: #b666e8;
$custom-light: #cf95f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b666e8",
  "rgb": {
    "r": 182,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 276.923,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6552,
    "c": 0.1971,
    "h": 310.5
  },
  "luminance": 0.25274
}

Semantic roles & 50–950 ramp

primary
#B666E8
secondary
#D0EBBF
accent
#D6105C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B666E8

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

Preview Lab → · Contrast checker → · Palette generator →

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