#9E71FB#9E71FB

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

Color values

HEX#9E71FB
RGBrgb(158, 113, 251)
HSLhsl(260, 95%, 71%)
HSVhsv(260, 55%, 98%)
CMYKcmyk(37.1%, 55%, 0%, 1.6%)
CIE-LABlab(58.08, 47.13, -62.92)
CIE-LCHlch(58.08, 78.62, 306.84°)
OKLaboklab(65.83% 0.0851 -0.1785)
OKLCHoklch(65.83% 0.198 295.5)
XYZxyz(37.4138, 26.0437, 94.3038)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E71FB #CEFB71
analogous
#7189FB #9E71FB #E371FB
triadic
#9E71FB #FB9E71 #71FB9E
tetradic
#9E71FB #FB7189 #CEFB71 #71FBE3
square
#9E71FB #FB7189 #CEFB71 #71FBE3
split-complementary
#9E71FB #FBE371 #89FB71
monochromatic
#5107EB #7535F9 #9E71FB #C7ADFD #EBE1FE

Accessibility & contrast

On white

3.38
#9E71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#9E71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E71FB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E71FB#FFFFFF#000000##000000
##9E71FB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#3E8AF8
Tritanopia (blue-blind)
#878EAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9e71fb;
/* rgb */ color: rgb(158, 113, 251);
/* oklch */ color: oklch(65.8% 0.198 295.5);
Tailwind
colors: {
  custom: {
    50: '#bf9bfd',
    500: '#9e71fb',
    950: '#000000',
  },
}
SCSS
$custom: #9e71fb;
$custom-light: #bf9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e71fb",
  "rgb": {
    "r": 158,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 259.565,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65833,
    "c": 0.19779,
    "h": 295.5
  },
  "luminance": 0.26044
}

Semantic roles & 50–950 ramp

primary
#9E71FB
secondary
#EAF6D2
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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