#9D71EA#9D71EA

#9D71EA is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.7% C 0.177 H 298.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9D71EA
RGBrgb(157, 113, 234)
HSLhsl(262, 74%, 68%)
HSVhsv(262, 52%, 92%)
CMYKcmyk(32.9%, 51.7%, 0%, 8.2%)
CIE-LABlab(57.00, 42.57, -55.22)
CIE-LCHlch(57.00, 69.73, 307.63°)
OKLaboklab(64.69% 0.0832 -0.156)
OKLCHoklch(64.69% 0.177 298.1)
XYZxyz(34.6574, 24.9185, 80.8098)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71EA #BEEA71
analogous
#7181EA #9D71EA #D971EA
triadic
#9D71EA #EA9D71 #71EA9D
tetradic
#9D71EA #EA7181 #BEEA71 #71EAD9
square
#9D71EA #EA7181 #BEEA71 #71EAD9
split-complementary
#9D71EA #EAD971 #81EA71
monochromatic
#5A1DC4 #783CE2 #9D71EA #C2A6F2 #E7DCFA

Accessibility & contrast

On white

3.51
#9D71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9D71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71EA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71EA#FFFFFF#000000##000000
##9D71EA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#4F88E7
Tritanopia (blue-blind)
#8C89A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d71ea;
/* rgb */ color: rgb(157, 113, 234);
/* oklch */ color: oklch(64.7% 0.177 298.1);
Tailwind
colors: {
  custom: {
    50: '#bd9bf1',
    500: '#9d71ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d71ea;
$custom-light: #bd9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71ea",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 261.818,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64692,
    "c": 0.17677,
    "h": 298.1
  },
  "luminance": 0.24919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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