#9E71FA#9E71FA

#9E71FA is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.197 H 295.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9E71FA
RGBrgb(158, 113, 250)
HSLhsl(260, 93%, 71%)
HSVhsv(260, 55%, 98%)
CMYKcmyk(36.8%, 54.8%, 0%, 2%)
CIE-LABlab(58.02, 46.88, -62.46)
CIE-LCHlch(58.02, 78.10, 306.89°)
OKLaboklab(65.77% 0.0851 -0.1772)
OKLCHoklch(65.77% 0.197 295.7)
XYZxyz(37.2566, 25.9808, 93.4758)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E71FA #CDFA71
analogous
#7188FA #9E71FA #E271FA
triadic
#9E71FA #FA9E71 #71FA9E
tetradic
#9E71FA #FA7188 #CDFA71 #71FAE2
square
#9E71FA #FA7188 #CDFA71 #71FAE2
split-complementary
#9E71FA #FAE271 #88FA71
monochromatic
#5208E8 #7636F8 #9E71FA #C6ACFC #EBE1FE

Accessibility & contrast

On white

3.39
#9E71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9E71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E71FA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E71FA#FFFFFF#000000##000000
##9E71FA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#308CFF
Deuteranopia (green-blind)
#3F89F7
Tritanopia (blue-blind)
#888DAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e71fa;
/* rgb */ color: rgb(158, 113, 250);
/* oklch */ color: oklch(65.8% 0.197 295.7);
Tailwind
colors: {
  custom: {
    50: '#bf9bfd',
    500: '#9e71fa',
    950: '#000000',
  },
}
SCSS
$custom: #9e71fa;
$custom-light: #bf9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e71fa",
  "rgb": {
    "r": 158,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 259.708,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65769,
    "c": 0.19657,
    "h": 295.7
  },
  "luminance": 0.25981
}

Semantic roles & 50–950 ramp

primary
#9E71FA
secondary
#EAF5D1
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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