#9E71CD#9E71CD

#9E71CD is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.2% C 0.141 H 305.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9E71CD
RGBrgb(158, 113, 205)
HSLhsl(269, 48%, 62%)
HSVhsv(269, 45%, 80%)
CMYKcmyk(22.9%, 44.9%, 0%, 19.6%)
CIE-LABlab(55.57, 35.76, -41.16)
CIE-LCHlch(55.57, 54.52, 310.99°)
OKLaboklab(63.16% 0.0813 -0.1149)
OKLCHoklch(63.16% 0.141 305.3)
XYZxyz(31.0228, 23.4873, 60.6449)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E71CD #A0CD71
analogous
#7172CD #9E71CD #CC71CD
triadic
#9E71CD #CD9E71 #71CD9E
tetradic
#9E71CD #CD7172 #A0CD71 #71CDCC
square
#9E71CD #CD7172 #A0CD71 #71CDCC
split-complementary
#9E71CD #CDCC71 #72CD71
monochromatic
#613391 #7F44BD #9E71CD #BD9EDD #DCCCED

Accessibility & contrast

On white

3.69
#9E71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#9E71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E71CD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E71CD#FFFFFF#000000##000000
##9E71CD1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e71cd;
/* rgb */ color: rgb(158, 113, 205);
/* oklch */ color: oklch(63.2% 0.141 305.3);
Tailwind
colors: {
  custom: {
    50: '#bc9adc',
    500: '#9e71cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e71cd;
$custom-light: #bc9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e71cd",
  "rgb": {
    "r": 158,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 269.348,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63156,
    "c": 0.14077,
    "h": 305.3
  },
  "luminance": 0.23487
}

Semantic roles & 50–950 ramp

primary
#9E71CD
secondary
#CDDEBC
accent
#BB2A74
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9E71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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