#9E5CCD#9E5CCD

#9E5CCD is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.8% C 0.175 H 309.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9E5CCD
RGBrgb(158, 92, 205)
HSLhsl(275, 53%, 58%)
HSVhsv(275, 55%, 80%)
CMYKcmyk(22.9%, 55.1%, 0%, 19.6%)
CIE-LABlab(51.07, 47.29, -48.28)
CIE-LCHlch(51.07, 67.58, 314.40°)
OKLaboklab(59.82% 0.1099 -0.1356)
OKLCHoklch(59.82% 0.175 309)
XYZxyz(28.9450, 19.3316, 59.9523)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5CCD #8BCD5C
analogous
#655CCD #9E5CCD #CD5CC4
triadic
#9E5CCD #CD9E5C #5CCD9E
tetradic
#9E5CCD #CD655C #8BCD5C #5CC4CD
square
#9E5CCD #CD655C #8BCD5C #5CC4CD
split-complementary
#9E5CCD #C4CD5C #5CCD65
monochromatic
#5F2986 #8037B4 #9E5CCD #BA8BDB #D6BAEA

Accessibility & contrast

On white

4.32
#9E5CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9E5CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5CCD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5CCD#FFFFFF#000000##000000
##9E5CCD1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#4F7BCA
Tritanopia (blue-blind)
#98708C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e5ccd;
/* rgb */ color: rgb(158, 92, 205);
/* oklch */ color: oklch(59.8% 0.175 309.0);
Tailwind
colors: {
  custom: {
    50: '#bd8ddd',
    500: '#9e5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ccd;
$custom-light: #bd8ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ccd",
  "rgb": {
    "r": 158,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 275.044,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.17456,
    "h": 309
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#9E5CCD
secondary
#BFD9AC
accent
#DC4B88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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