#9E71EF#9E71EF

#9E71EF is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.183 H 297.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9E71EF
RGBrgb(158, 113, 239)
HSLhsl(261, 80%, 69%)
HSVhsv(261, 53%, 94%)
CMYKcmyk(33.9%, 52.7%, 0%, 6.3%)
CIE-LABlab(57.38, 44.08, -57.39)
CIE-LCHlch(57.38, 72.37, 307.52°)
OKLaboklab(65.09% 0.0847 -0.1623)
OKLCHoklch(65.09% 0.183 297.6)
XYZxyz(35.5818, 25.3109, 84.6555)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E71EF #C2EF71
analogous
#7183EF #9E71EF #DD71EF
triadic
#9E71EF #EF9E71 #71EF9E
tetradic
#9E71EF #EF7183 #C2EF71 #71EFDD
square
#9E71EF #EF7183 #C2EF71 #71EFDD
split-complementary
#9E71EF #EFDD71 #83EF71
monochromatic
#5917CE #783AE9 #9E71EF #C4A8F5 #E9DFFB

Accessibility & contrast

On white

3.46
#9E71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9E71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E71EF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E71EF#FFFFFF#000000##000000
##9E71EF1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF3
Deuteranopia (green-blind)
#4B88EC
Tritanopia (blue-blind)
#8C8AA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e71ef;
/* rgb */ color: rgb(158, 113, 239);
/* oklch */ color: oklch(65.1% 0.183 297.6);
Tailwind
colors: {
  custom: {
    50: '#be9bf5',
    500: '#9e71ef',
    950: '#000000',
  },
}
SCSS
$custom: #9e71ef;
$custom-light: #be9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e71ef",
  "rgb": {
    "r": 158,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 261.429,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65089,
    "c": 0.18309,
    "h": 297.6
  },
  "luminance": 0.25311
}

Semantic roles & 50–950 ramp

primary
#9E71EF
secondary
#E3F0CB
accent
#DC0991
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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