#9E71F7#9E71F7

#9E71F7 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.193 H 296.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9E71F7
RGBrgb(158, 113, 247)
HSLhsl(260, 89%, 71%)
HSVhsv(260, 54%, 97%)
CMYKcmyk(36%, 54.3%, 0%, 3.1%)
CIE-LABlab(57.84, 46.11, -61.09)
CIE-LCHlch(57.84, 76.54, 307.04°)
OKLaboklab(65.58% 0.085 -0.1731)
OKLCHoklch(65.58% 0.193 296.2)
XYZxyz(36.7899, 25.7941, 91.0181)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E71F7 #CAF771
analogous
#7187F7 #9E71F7 #E171F7
triadic
#9E71F7 #F79E71 #71F79E
tetradic
#9E71F7 #F77187 #CAF771 #71F7E1
square
#9E71F7 #F77187 #CAF771 #71F7E1
split-complementary
#9E71F7 #F7E171 #87F771
monochromatic
#540DE1 #7637F4 #9E71F7 #C6ABFA #EBE2FD

Accessibility & contrast

On white

3.41
#9E71F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9E71F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E71F7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E71F7#FFFFFF#000000##000000
##9E71F71.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFC
Deuteranopia (green-blind)
#4389F4
Tritanopia (blue-blind)
#898CA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e71f7;
/* rgb */ color: rgb(158, 113, 247);
/* oklch */ color: oklch(65.6% 0.193 296.2);
Tailwind
colors: {
  custom: {
    50: '#bf9bfa',
    500: '#9e71f7',
    950: '#000000',
  },
}
SCSS
$custom: #9e71f7;
$custom-light: #bf9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e71f7",
  "rgb": {
    "r": 158,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 260.149,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65581,
    "c": 0.19291,
    "h": 296.2
  },
  "luminance": 0.25795
}

Semantic roles & 50–950 ramp

primary
#9E71F7
secondary
#E8F4D0
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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