#9D71DD#9D71DD

#9D71DD is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.9% C 0.161 H 300.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9D71DD
RGBrgb(157, 113, 221)
HSLhsl(264, 61%, 65%)
HSVhsv(264, 49%, 87%)
CMYKcmyk(29%, 48.9%, 0%, 13.3%)
CIE-LABlab(56.29, 39.34, -49.07)
CIE-LCHlch(56.29, 62.89, 308.72°)
OKLaboklab(63.93% 0.0821 -0.138)
OKLCHoklch(63.93% 0.161 300.8)
XYZxyz(32.8579, 24.1987, 71.3323)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71DD #B1DD71
analogous
#717BDD #9D71DD #D371DD
triadic
#9D71DD #DD9D71 #71DD9D
tetradic
#9D71DD #DD717B #B1DD71 #71DDD3
square
#9D71DD #DD717B #B1DD71 #71DDD3
split-complementary
#9D71DD #DDD371 #7BDD71
monochromatic
#5E29AB #7B40D1 #9D71DD #BFA2E9 #E1D4F5

Accessibility & contrast

On white

3.60
#9D71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9D71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71DD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71DD#FFFFFF#000000##000000
##9D71DD1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E1
Deuteranopia (green-blind)
#5A86DA
Tritanopia (blue-blind)
#91859D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d71dd;
/* rgb */ color: rgb(157, 113, 221);
/* oklch */ color: oklch(63.9% 0.161 300.8);
Tailwind
colors: {
  custom: {
    50: '#bd9be8',
    500: '#9d71dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d71dd;
$custom-light: #bd9be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71dd",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 264.444,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63934,
    "c": 0.16057,
    "h": 300.8
  },
  "luminance": 0.24199
}

Semantic roles & 50–950 ramp

primary
#9D71DD
secondary
#D8E7C3
accent
#C91C83
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9D71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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