#9D71CA#9D71CA

#9D71CA is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.9% C 0.137 H 305.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9D71CA
RGBrgb(157, 113, 202)
HSLhsl(270, 46%, 62%)
HSVhsv(270, 44%, 79%)
CMYKcmyk(22.3%, 44.1%, 0%, 20.8%)
CIE-LABlab(55.32, 34.77, -39.85)
CIE-LCHlch(55.32, 52.89, 311.11°)
OKLaboklab(62.9% 0.0796 -0.1111)
OKLCHoklch(62.9% 0.137 305.6)
XYZxyz(30.4682, 23.2428, 58.7469)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71CA #9ECA71
analogous
#7172CA #9D71CA #CA71CA
triadic
#9D71CA #CA9D71 #71CA9D
tetradic
#9D71CA #CA7172 #9ECA71 #71CACA
square
#9D71CA #CA7172 #9ECA71 #71CACA
split-complementary
#9D71CA #CACA71 #72CA71
monochromatic
#60348C #7E45B9 #9D71CA #BC9EDB #DBCAEB

Accessibility & contrast

On white

3.72
#9D71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#9D71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71CA#FFFFFF#000000##000000
##9D71CA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#6585C8
Tritanopia (blue-blind)
#968094
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d71ca;
/* rgb */ color: rgb(157, 113, 202);
/* oklch */ color: oklch(62.9% 0.137 305.6);
Tailwind
colors: {
  custom: {
    50: '#bc9ada',
    500: '#9d71ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d71ca;
$custom-light: #bc9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71ca",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 269.663,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62898,
    "c": 0.13672,
    "h": 305.6
  },
  "luminance": 0.23243
}

Semantic roles & 50–950 ramp

primary
#9D71CA
secondary
#CCDCBB
accent
#B92D74
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9D71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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