#9D71FD#9D71FD

#9D71FD is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 65.9% C 0.200 H 294.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9D71FD
RGBrgb(157, 113, 253)
HSLhsl(259, 97%, 72%)
HSVhsv(259, 55%, 99%)
CMYKcmyk(37.9%, 55.3%, 0%, 0.8%)
CIE-LABlab(58.10, 47.42, -63.99)
CIE-LCHlch(58.10, 79.65, 306.54°)
OKLaboklab(65.87% 0.0839 -0.1817)
OKLCHoklch(65.87% 0.2 294.8)
XYZxyz(37.5347, 26.0694, 95.9638)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71FD #D1FD71
analogous
#718BFD #9D71FD #E371FD
triadic
#9D71FD #FD9D71 #71FD9D
tetradic
#9D71FD #FD718B #D1FD71 #71FDE3
square
#9D71FD #FD718B #D1FD71 #71FDE3
split-complementary
#9D71FD #FDE371 #8BFD71
monochromatic
#4E03F0 #7335FC #9D71FD #C7ADFE #EAE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D71FD#FFFFFF#000000##000000
##9D71FD1.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)
#2B8DFF
Deuteranopia (green-blind)
#3A89FA
Tritanopia (blue-blind)
#858EAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9d71fd;
/* rgb */ color: rgb(157, 113, 253);
/* oklch */ color: oklch(65.9% 0.200 294.8);
Tailwind
colors: {
  custom: {
    50: '#bf9bff',
    500: '#9d71fd',
    950: '#000000',
  },
}
SCSS
$custom: #9d71fd;
$custom-light: #bf9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71fd",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 258.857,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65867,
    "c": 0.20015,
    "h": 294.8
  },
  "luminance": 0.2607
}

Semantic roles & 50–950 ramp

primary
#9D71FD
secondary
#EBF7D3
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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