#9D71CD#9D71CD

#9D71CD is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.140 H 304.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9D71CD
RGBrgb(157, 113, 205)
HSLhsl(269, 48%, 62%)
HSVhsv(269, 45%, 80%)
CMYKcmyk(23.4%, 44.9%, 0%, 19.6%)
CIE-LABlab(55.47, 35.48, -41.32)
CIE-LCHlch(55.47, 54.47, 310.65°)
OKLaboklab(63.06% 0.0801 -0.1154)
OKLCHoklch(63.06% 0.14 304.8)
XYZxyz(30.8269, 23.3863, 60.6358)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71CD #A1CD71
analogous
#7173CD #9D71CD #CB71CD
triadic
#9D71CD #CD9D71 #71CD9D
tetradic
#9D71CD #CD7173 #A1CD71 #71CDCB
square
#9D71CD #CD7173 #A1CD71 #71CDCB
split-complementary
#9D71CD #CDCB71 #73CD71
monochromatic
#603391 #7E44BD #9D71CD #BC9EDD #DBCCED

Accessibility & contrast

On white

3.70
#9D71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9D71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71CD#FFFFFF#000000##000000
##9D71CD1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#6485CB
Tritanopia (blue-blind)
#958095
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d71cd;
/* rgb */ color: rgb(157, 113, 205);
/* oklch */ color: oklch(63.1% 0.140 304.8);
Tailwind
colors: {
  custom: {
    50: '#bc9adc',
    500: '#9d71cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d71cd;
$custom-light: #bc9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71cd",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 268.696,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63056,
    "c": 0.14048,
    "h": 304.8
  },
  "luminance": 0.23386
}

Semantic roles & 50–950 ramp

primary
#9D71CD
secondary
#CEDEBC
accent
#BB2A76
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9D71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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