#9D71C8#9D71C8

#9D71C8 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.8% C 0.134 H 306.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9D71C8
RGBrgb(157, 113, 200)
HSLhsl(270, 44%, 61%)
HSVhsv(270, 44%, 78%)
CMYKcmyk(21.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(55.23, 34.31, -38.86)
CIE-LCHlch(55.23, 51.84, 311.44°)
OKLaboklab(62.79% 0.0793 -0.1083)
OKLCHoklch(62.79% 0.134 306.2)
XYZxyz(30.2330, 23.1487, 57.5078)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71C8 #9CC871
analogous
#7271C8 #9D71C8 #C871C7
triadic
#9D71C8 #C89D71 #71C89D
tetradic
#9D71C8 #C87271 #9CC871 #71C7C8
square
#9D71C8 #C87271 #9CC871 #71C7C8
split-complementary
#9D71C8 #C7C871 #71C872
monochromatic
#603589 #7F46B6 #9D71C8 #BB9DD9 #DAC9EA

Accessibility & contrast

On white

3.73
#9D71C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9D71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71C8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71C8#FFFFFF#000000##000000
##9D71C81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CB
Deuteranopia (green-blind)
#6785C6
Tritanopia (blue-blind)
#977F93
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d71c8;
/* rgb */ color: rgb(157, 113, 200);
/* oklch */ color: oklch(62.8% 0.134 306.2);
Tailwind
colors: {
  custom: {
    50: '#bb9ad9',
    500: '#9d71c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d71c8;
$custom-light: #bb9ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71c8",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 270.345,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.13422,
    "h": 306.2
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

primary
#9D71C8
secondary
#CADBBA
accent
#B72E72
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9D71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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