#9C5DE4#9C5DE4

#9C5DE4 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.2% C 0.199 H 302.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9C5DE4
RGBrgb(156, 93, 228)
HSLhsl(268, 71%, 63%)
HSVhsv(268, 59%, 89%)
CMYKcmyk(31.6%, 59.2%, 0%, 10.6%)
CIE-LABlab(52.40, 51.66, -59.23)
CIE-LCHlch(52.40, 78.60, 311.09°)
OKLaboklab(61.17% 0.1065 -0.1677)
OKLCHoklch(61.17% 0.199 302.4)
XYZxyz(31.6250, 20.4980, 75.6742)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5DE4 #A5E45D
analogous
#5D61E4 #9C5DE4 #E05DE4
triadic
#9C5DE4 #E49C5D #5DE49C
tetradic
#9C5DE4 #E45D61 #A5E45D #5DE4E0
square
#9C5DE4 #E45D61 #A5E45D #5DE4E0
split-complementary
#9C5DE4 #E4E05D #61E45D
monochromatic
#5F1CAA #7C29DB #9C5DE4 #BC91ED #DCC6F5

Accessibility & contrast

On white

4.12
#9C5DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9C5DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5DE4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5DE4#FFFFFF#000000##000000
##9C5DE41.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#147CE8
Deuteranopia (green-blind)
#387DE1
Tritanopia (blue-blind)
#8E7998
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5de4;
/* rgb */ color: rgb(156, 93, 228);
/* oklch */ color: oklch(61.2% 0.199 302.4);
Tailwind
colors: {
  custom: {
    50: '#bd8eed',
    500: '#9c5de4',
    950: '#000000',
  },
}
SCSS
$custom: #9c5de4;
$custom-light: #bd8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5de4",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 268,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61169,
    "c": 0.19867,
    "h": 302.4
  },
  "luminance": 0.20498
}

Semantic roles & 50–950 ramp

primary
#9C5DE4
secondary
#D0E7B6
accent
#D31279
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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