#8F76E4#8F76E4

#8F76E4 is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.9% C 0.160 H 291.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8F76E4
RGBrgb(143, 118, 228)
HSLhsl(254, 67%, 68%)
HSVhsv(254, 48%, 89%)
CMYKcmyk(37.3%, 48.2%, 0%, 10.6%)
CIE-LABlab(56.48, 34.70, -52.76)
CIE-LCHlch(56.48, 63.15, 303.33°)
OKLaboklab(63.89% 0.0593 -0.1491)
OKLCHoklch(63.89% 0.16 291.7)
XYZxyz(31.8060, 24.3971, 76.4171)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F76E4 #CBE476
analogous
#7694E4 #8F76E4 #C676E4
triadic
#8F76E4 #E48F76 #76E48F
tetradic
#8F76E4 #E47694 #CBE476 #76E4C6
square
#8F76E4 #E47694 #CBE476 #76E4C6
split-complementary
#8F76E4 #E4C676 #94E476
monochromatic
#4725BB #6543DA #8F76E4 #B9A9EE #E3DCF8

Accessibility & contrast

On white

3.57
#8F76E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8F76E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F76E4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F76E4#FFFFFF#000000##000000
##8F76E41.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E8
Deuteranopia (green-blind)
#5085E1
Tritanopia (blue-blind)
#798CA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f76e4;
/* rgb */ color: rgb(143, 118, 228);
/* oklch */ color: oklch(63.9% 0.160 291.7);
Tailwind
colors: {
  custom: {
    50: '#b49eed',
    500: '#8f76e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f76e4;
$custom-light: #b49eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f76e4",
  "rgb": {
    "r": 143,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 253.636,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63892,
    "c": 0.16048,
    "h": 291.7
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#8F76E4
secondary
#E4ECCA
accent
#CF17A5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8F76E4

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

Preview Lab → · Contrast checker → · Palette generator →

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