#9D71FA#9D71FA

#9D71FA is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.196 H 295.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9D71FA
RGBrgb(157, 113, 250)
HSLhsl(259, 93%, 71%)
HSVhsv(259, 55%, 98%)
CMYKcmyk(37.2%, 54.8%, 0%, 2%)
CIE-LABlab(57.92, 46.65, -62.62)
CIE-LCHlch(57.92, 78.09, 306.68°)
OKLaboklab(65.68% 0.0839 -0.1777)
OKLCHoklch(65.68% 0.196 295.3)
XYZxyz(37.0606, 25.8798, 93.4667)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71FA #CEFA71
analogous
#7189FA #9D71FA #E171FA
triadic
#9D71FA #FA9D71 #71FA9D
tetradic
#9D71FA #FA7189 #CEFA71 #71FAE1
square
#9D71FA #FA7189 #CEFA71 #71FAE1
split-complementary
#9D71FA #FAE171 #89FA71
monochromatic
#5008E8 #7436F8 #9D71FA #C6ACFC #EBE1FE

Accessibility & contrast

On white

3.40
#9D71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9D71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71FA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71FA#FFFFFF#000000##000000
##9D71FA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#308CFF
Deuteranopia (green-blind)
#3E89F7
Tritanopia (blue-blind)
#868DAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d71fa;
/* rgb */ color: rgb(157, 113, 250);
/* oklch */ color: oklch(65.7% 0.196 295.3);
Tailwind
colors: {
  custom: {
    50: '#bf9bfd',
    500: '#9d71fa',
    950: '#000000',
  },
}
SCSS
$custom: #9d71fa;
$custom-light: #bf9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71fa",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 259.27,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65676,
    "c": 0.19649,
    "h": 295.3
  },
  "luminance": 0.2588
}

Semantic roles & 50–950 ramp

primary
#9D71FA
secondary
#EAF5D1
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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