#8E76F2#8E76F2

#8E76F2 is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.7% C 0.179 H 289.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8E76F2
RGBrgb(142, 118, 242)
HSLhsl(252, 83%, 71%)
HSVhsv(252, 51%, 95%)
CMYKcmyk(41.3%, 51.2%, 0%, 5.1%)
CIE-LABlab(57.19, 38.26, -59.44)
CIE-LCHlch(57.19, 70.69, 302.77°)
OKLaboklab(64.66% 0.0592 -0.1688)
OKLCHoklch(64.66% 0.179 289.3)
XYZxyz(33.6563, 25.1173, 87.0620)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E76F2 #DAF276
analogous
#769CF2 #8E76F2 #CC76F2
triadic
#8E76F2 #F28E76 #76F28E
tetradic
#8E76F2 #F2769C #DAF276 #76F2CC
square
#8E76F2 #F2769C #DAF276 #76F2CC
split-complementary
#8E76F2 #F2CC76 #9CF276
monochromatic
#3B15D9 #603EED #8E76F2 #BCAEF7 #E8E3FC

Accessibility & contrast

On white

3.49
#8E76F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8E76F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E76F2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E76F2#FFFFFF#000000##000000
##8E76F21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#7290A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e76f2;
/* rgb */ color: rgb(142, 118, 242);
/* oklch */ color: oklch(64.7% 0.179 289.3);
Tailwind
colors: {
  custom: {
    50: '#b49ef7',
    500: '#8e76f2',
    950: '#000000',
  },
}
SCSS
$custom: #8e76f2;
$custom-light: #b49ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e76f2",
  "rgb": {
    "r": 142,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 251.613,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64655,
    "c": 0.17884,
    "h": 289.3
  },
  "luminance": 0.25118
}

Semantic roles & 50–950 ramp

primary
#8E76F2
secondary
#ECF3D1
accent
#DF06B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8E76F2

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

Preview Lab → · Contrast checker → · Palette generator →

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