#9F71EA#9F71EA

#9F71EA is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.9% C 0.177 H 298.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9F71EA
RGBrgb(159, 113, 234)
HSLhsl(263, 74%, 68%)
HSVhsv(263, 52%, 92%)
CMYKcmyk(32.1%, 51.7%, 0%, 8.2%)
CIE-LABlab(57.19, 43.07, -54.90)
CIE-LCHlch(57.19, 69.77, 308.11°)
OKLaboklab(64.88% 0.0857 -0.155)
OKLCHoklch(64.88% 0.177 298.9)
XYZxyz(35.0509, 25.1214, 80.8282)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71EA #BCEA71
analogous
#717FEA #9F71EA #DB71EA
triadic
#9F71EA #EA9F71 #71EA9F
tetradic
#9F71EA #EA717F #BCEA71 #71EADB
square
#9F71EA #EA717F #BCEA71 #71EADB
split-complementary
#9F71EA #EADB71 #7FEA71
monochromatic
#5C1DC4 #7B3CE2 #9F71EA #C3A6F2 #E7DCFA

Accessibility & contrast

On white

3.49
#9F71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#9F71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71EA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71EA#FFFFFF#000000##000000
##9F71EA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f71ea;
/* rgb */ color: rgb(159, 113, 234);
/* oklch */ color: oklch(64.9% 0.177 298.9);
Tailwind
colors: {
  custom: {
    50: '#bf9bf1',
    500: '#9f71ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f71ea;
$custom-light: #bf9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71ea",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 262.81,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64884,
    "c": 0.17707,
    "h": 298.9
  },
  "luminance": 0.25122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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