#8F76EC#8F76EC

#8F76EC is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.4% C 0.171 H 290.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8F76EC
RGBrgb(143, 118, 236)
HSLhsl(253, 76%, 69%)
HSVhsv(253, 50%, 93%)
CMYKcmyk(39.4%, 50%, 0%, 7.5%)
CIE-LABlab(56.93, 36.86, -56.52)
CIE-LCHlch(56.93, 67.47, 303.11°)
OKLaboklab(64.37% 0.06 -0.1601)
OKLCHoklch(64.37% 0.171 290.5)
XYZxyz(32.9423, 24.8517, 82.4018)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F76EC #D3EC76
analogous
#7698EC #8F76EC #CA76EC
triadic
#8F76EC #EC8F76 #76EC8F
tetradic
#8F76EC #EC7698 #D3EC76 #76ECCA
square
#8F76EC #EC7698 #D3EC76 #76ECCA
split-complementary
#8F76EC #ECCA76 #98EC76
monochromatic
#411CCB #6340E5 #8F76EC #BBACF3 #E7E1FB

Accessibility & contrast

On white

3.52
#8F76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8F76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F76EC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F76EC#FFFFFF#000000##000000
##8F76EC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#768EA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f76ec;
/* rgb */ color: rgb(143, 118, 236);
/* oklch */ color: oklch(64.4% 0.171 290.5);
Tailwind
colors: {
  custom: {
    50: '#b49ef3',
    500: '#8f76ec',
    950: '#000000',
  },
}
SCSS
$custom: #8f76ec;
$custom-light: #b49ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f76ec",
  "rgb": {
    "r": 143,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 252.712,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64372,
    "c": 0.171,
    "h": 290.5
  },
  "luminance": 0.24853
}

Semantic roles & 50–950 ramp

primary
#8F76EC
secondary
#E9F0CE
accent
#D80EAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8F76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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