#8E66FB#8E66FB

#8E66FB is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 62.7% C 0.212 H 291.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8E66FB
RGBrgb(142, 102, 251)
HSLhsl(256, 95%, 69%)
HSVhsv(256, 59%, 98%)
CMYKcmyk(43.4%, 59.4%, 0%, 1.6%)
CIE-LABlab(54.26, 49.70, -69.16)
CIE-LCHlch(54.26, 85.16, 305.70°)
OKLaboklab(62.67% 0.0775 -0.1973)
OKLCHoklch(62.67% 0.212 291.4)
XYZxyz(33.3145, 22.2175, 93.7812)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E66FB #D3FB66
analogous
#6689FB #8E66FB #D866FB
triadic
#8E66FB #FB8E66 #66FB8E
tetradic
#8E66FB #FB6689 #D3FB66 #66FBD8
square
#8E66FB #FB6689 #D3FB66 #66FBD8
split-complementary
#8E66FB #FBD866 #89FB66
monochromatic
#4106E1 #622AF9 #8E66FB #BAA2FD #E6DDFE

Accessibility & contrast

On white

3.86
#8E66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8E66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E66FB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E66FB#FFFFFF#000000##000000
##8E66FB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#6E88A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8e66fb;
/* rgb */ color: rgb(142, 102, 251);
/* oklch */ color: oklch(62.7% 0.212 291.4);
Tailwind
colors: {
  custom: {
    50: '#b693fe',
    500: '#8e66fb',
    950: '#000000',
  },
}
SCSS
$custom: #8e66fb;
$custom-light: #b693fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e66fb",
  "rgb": {
    "r": 142,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 256.107,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.21202,
    "h": 291.4
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#8E66FB
secondary
#E8F4C9
accent
#E600A8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8E66FB

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

Preview Lab → · Contrast checker → · Palette generator →

#8E66FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva