#9D71EF#9D71EF

#9D71EF is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.0% C 0.183 H 297.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D71EF
RGBrgb(157, 113, 239)
HSLhsl(261, 80%, 69%)
HSVhsv(261, 53%, 94%)
CMYKcmyk(34.3%, 52.7%, 0%, 6.3%)
CIE-LABlab(57.28, 43.84, -57.56)
CIE-LCHlch(57.28, 72.35, 307.29°)
OKLaboklab(64.99% 0.0835 -0.1628)
OKLCHoklch(64.99% 0.183 297.1)
XYZxyz(35.3859, 25.2099, 84.6463)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71EF #C3EF71
analogous
#7184EF #9D71EF #DC71EF
triadic
#9D71EF #EF9D71 #71EF9D
tetradic
#9D71EF #EF7184 #C3EF71 #71EFDC
square
#9D71EF #EF7184 #C3EF71 #71EFDC
split-complementary
#9D71EF #EFDC71 #84EF71
monochromatic
#5717CE #773AE9 #9D71EF #C3A8F5 #E9DFFB

Accessibility & contrast

On white

3.48
#9D71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#9D71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71EF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71EF#FFFFFF#000000##000000
##9D71EF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#4A88EC
Tritanopia (blue-blind)
#8B8AA5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d71ef;
/* rgb */ color: rgb(157, 113, 239);
/* oklch */ color: oklch(65.0% 0.183 297.1);
Tailwind
colors: {
  custom: {
    50: '#be9bf5',
    500: '#9d71ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d71ef;
$custom-light: #be9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71ef",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 260.952,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64993,
    "c": 0.18297,
    "h": 297.1
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#9D71EF
secondary
#E3F0CB
accent
#DC0993
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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