#9E71EA#9E71EA

#9E71EA is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.8% C 0.177 H 298.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9E71EA
RGBrgb(158, 113, 234)
HSLhsl(262, 74%, 68%)
HSVhsv(262, 52%, 92%)
CMYKcmyk(32.5%, 51.7%, 0%, 8.2%)
CIE-LABlab(57.09, 42.82, -55.06)
CIE-LCHlch(57.09, 69.75, 307.87°)
OKLaboklab(64.79% 0.0844 -0.1555)
OKLCHoklch(64.79% 0.177 298.5)
XYZxyz(34.8534, 25.0195, 80.8190)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E71EA #BDEA71
analogous
#7180EA #9E71EA #DA71EA
triadic
#9E71EA #EA9E71 #71EA9E
tetradic
#9E71EA #EA7180 #BDEA71 #71EADA
square
#9E71EA #EA7180 #BDEA71 #71EADA
split-complementary
#9E71EA #EADA71 #80EA71
monochromatic
#5B1DC4 #7A3CE2 #9E71EA #C2A6F2 #E7DCFA

Accessibility & contrast

On white

3.50
#9E71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9E71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E71EA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E71EA#FFFFFF#000000##000000
##9E71EA1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#5088E7
Tritanopia (blue-blind)
#8E89A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e71ea;
/* rgb */ color: rgb(158, 113, 234);
/* oklch */ color: oklch(64.8% 0.177 298.5);
Tailwind
colors: {
  custom: {
    50: '#be9bf1',
    500: '#9e71ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e71ea;
$custom-light: #be9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e71ea",
  "rgb": {
    "r": 158,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 262.314,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64788,
    "c": 0.17692,
    "h": 298.5
  },
  "luminance": 0.2502
}

Semantic roles & 50–950 ramp

primary
#9E71EA
secondary
#E0EEC9
accent
#D60F8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E71EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9E71EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva