#B666EC#B666EC

#B666EC is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.8% C 0.201 H 309.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B666EC
RGBrgb(182, 102, 236)
HSLhsl(276, 78%, 66%)
HSVhsv(276, 57%, 93%)
CMYKcmyk(22.9%, 56.8%, 0%, 7.5%)
CIE-LABlab(57.56, 55.03, -55.28)
CIE-LCHlch(57.56, 78.00, 314.87°)
OKLaboklab(65.75% 0.1281 -0.1554)
OKLCHoklch(65.75% 0.201 309.5)
XYZxyz(39.1802, 25.5046, 82.1995)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B666EC #9CEC66
analogous
#7366EC #B666EC #EC66DF
triadic
#B666EC #ECB666 #66ECB6
tetradic
#B666EC #EC7366 #9CEC66 #66DFEC
square
#B666EC #EC7366 #9CEC66 #66DFEC
split-complementary
#B666EC #DFEC66 #66EC73
monochromatic
#7C18C0 #9C30E5 #B666EC #D09CF3 #EAD3FA

Accessibility & contrast

On white

3.44
#B666EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B666EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B666EC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B666EC#FFFFFF#000000##000000
##B666EC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#578BE9
Tritanopia (blue-blind)
#AF7F9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b666ec;
/* rgb */ color: rgb(182, 102, 236);
/* oklch */ color: oklch(65.8% 0.201 309.5);
Tailwind
colors: {
  custom: {
    50: '#cf95f3',
    500: '#b666ec',
    950: '#000000',
  },
}
SCSS
$custom: #b666ec;
$custom-light: #cf95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b666ec",
  "rgb": {
    "r": 182,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 275.821,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65754,
    "c": 0.20139,
    "h": 309.5
  },
  "luminance": 0.25504
}

Semantic roles & 50–950 ramp

primary
#B666EC
secondary
#D3EDC1
accent
#DA0B5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B666EC

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

Preview Lab → · Contrast checker → · Palette generator →

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