#9E71BF#9E71BF

#9E71BF is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.4% C 0.123 H 309.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9E71BF
RGBrgb(158, 113, 191)
HSLhsl(275, 38%, 60%)
HSVhsv(275, 41%, 75%)
CMYKcmyk(17.3%, 40.8%, 0%, 25.1%)
CIE-LABlab(54.91, 32.54, -34.21)
CIE-LCHlch(54.91, 47.22, 313.56°)
OKLaboklab(62.44% 0.0789 -0.0948)
OKLCHoklch(62.44% 0.123 309.8)
XYZxyz(29.4079, 22.8413, 52.1397)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E71BF #92BF71
analogous
#7771BF #9E71BF #BF71B9
triadic
#9E71BF #BF9E71 #71BF9E
tetradic
#9E71BF #BF7771 #92BF71 #71B9BF
square
#9E71BF #BF7771 #92BF71 #71B9BF
split-complementary
#9E71BF #B9BF71 #71BF77
monochromatic
#60387D #804BA7 #9E71BF #BB9BD2 #D8C5E5

Accessibility & contrast

On white

3.77
#9E71BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9E71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E71BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E71BF#FFFFFF#000000##000000
##9E71BF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C2
Deuteranopia (green-blind)
#6C84BD
Tritanopia (blue-blind)
#9A7D8F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e71bf;
/* rgb */ color: rgb(158, 113, 191);
/* oklch */ color: oklch(62.4% 0.123 309.8);
Tailwind
colors: {
  custom: {
    50: '#bc9ad2',
    500: '#9e71bf',
    950: '#000000',
  },
}
SCSS
$custom: #9e71bf;
$custom-light: #bc9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e71bf",
  "rgb": {
    "r": 158,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 274.615,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62442,
    "c": 0.12334,
    "h": 309.8
  },
  "luminance": 0.22841
}

Semantic roles & 50–950 ramp

primary
#9E71BF
secondary
#C4D5B7
accent
#CE5A8B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #9E71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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