#9D5CE6#9D5CE6

#9D5CE6 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.203 H 302.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9D5CE6
RGBrgb(157, 92, 230)
HSLhsl(268, 73%, 63%)
HSVhsv(268, 60%, 90%)
CMYKcmyk(31.7%, 60%, 0%, 9.8%)
CIE-LABlab(52.44, 52.89, -60.29)
CIE-LCHlch(52.44, 80.20, 311.26°)
OKLaboklab(61.26% 0.1089 -0.1708)
OKLCHoklch(61.26% 0.203 302.5)
XYZxyz(32.0114, 20.5355, 77.1249)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5CE6 #A5E65C
analogous
#5C60E6 #9D5CE6 #E25CE6
triadic
#9D5CE6 #E69D5C #5CE69D
tetradic
#9D5CE6 #E65C60 #A5E65C #5CE6E2
square
#9D5CE6 #E65C60 #A5E65C #5CE6E2
split-complementary
#9D5CE6 #E6E25C #60E65C
monochromatic
#601BAD #7D27DE #9D5CE6 #BD91EE #DDC6F6

Accessibility & contrast

On white

4.11
#9D5CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9D5CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5CE6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5CE6#FFFFFF#000000##000000
##9D5CE61.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#067CEA
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#8F7998
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d5ce6;
/* rgb */ color: rgb(157, 92, 230);
/* oklch */ color: oklch(61.3% 0.203 302.5);
Tailwind
colors: {
  custom: {
    50: '#be8def',
    500: '#9d5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ce6;
$custom-light: #be8def;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ce6",
  "rgb": {
    "r": 157,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 268.261,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.20255,
    "h": 302.5
  },
  "luminance": 0.20536
}

Semantic roles & 50–950 ramp

primary
#9D5CE6
secondary
#D0E8B6
accent
#D61078
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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