#B666E9#B666E9

#B666E9 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.6% C 0.198 H 310.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B666E9
RGBrgb(182, 102, 233)
HSLhsl(277, 75%, 66%)
HSVhsv(277, 56%, 91%)
CMYKcmyk(21.9%, 56.2%, 0%, 8.6%)
CIE-LABlab(57.40, 54.38, -53.87)
CIE-LCHlch(57.40, 76.54, 315.27°)
OKLaboklab(65.58% 0.128 -0.1513)
OKLCHoklch(65.58% 0.198 310.2)
XYZxyz(38.7480, 25.3318, 79.9233)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B666E9 #99E966
analogous
#7466E9 #B666E9 #E966DB
triadic
#B666E9 #E9B666 #66E9B6
tetradic
#B666E9 #E97466 #99E966 #66DBE9
square
#B666E9 #E97466 #99E966 #66DBE9
split-complementary
#B666E9 #DBE966 #66E974
monochromatic
#7C1BBA #9C30E1 #B666E9 #D09CF1 #E9D1F8

Accessibility & contrast

On white

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

On black

6.07
#B666E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B666E9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B666E9#FFFFFF#000000##000000
##B666E91.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86ED
Deuteranopia (green-blind)
#598BE6
Tritanopia (blue-blind)
#B07E9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b666e9;
/* rgb */ color: rgb(182, 102, 233);
/* oklch */ color: oklch(65.6% 0.198 310.2);
Tailwind
colors: {
  custom: {
    50: '#cf95f1',
    500: '#b666e9',
    950: '#000000',
  },
}
SCSS
$custom: #b666e9;
$custom-light: #cf95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b666e9",
  "rgb": {
    "r": 182,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 276.641,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65579,
    "c": 0.19817,
    "h": 310.2
  },
  "luminance": 0.25331
}

Semantic roles & 50–950 ramp

primary
#B666E9
secondary
#D1EBC0
accent
#D70E5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B666E9

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

Preview Lab → · Contrast checker → · Palette generator →

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