#9D59EA#9D59EA

#9D59EA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.211 H 302.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9D59EA
RGBrgb(157, 89, 234)
HSLhsl(268, 78%, 63%)
HSVhsv(268, 62%, 92%)
CMYKcmyk(32.9%, 62%, 0%, 8.2%)
CIE-LABlab(52.12, 55.38, -63.04)
CIE-LCHlch(52.12, 83.91, 311.30°)
OKLaboklab(61.12% 0.1122 -0.1789)
OKLCHoklch(61.12% 0.211 302.1)
XYZxyz(32.3248, 20.2533, 80.0322)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59EA #A6EA59
analogous
#595DEA #9D59EA #E559EA
triadic
#9D59EA #EA9D59 #59EA9D
tetradic
#9D59EA #EA595D #A6EA59 #59EAE5
square
#9D59EA #EA595D #A6EA59 #59EAE5
split-complementary
#9D59EA #EAE559 #5DEA59
monochromatic
#5F17B2 #7D23E3 #9D59EA #BD8FF1 #DDC6F8

Accessibility & contrast

On white

4.16
#9D59EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9D59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59EA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59EA#FFFFFF#000000##000000
##9D59EA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#297CE7
Tritanopia (blue-blind)
#8E7899
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d59ea;
/* rgb */ color: rgb(157, 89, 234);
/* oklch */ color: oklch(61.1% 0.211 302.1);
Tailwind
colors: {
  custom: {
    50: '#bf8bf1',
    500: '#9d59ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d59ea;
$custom-light: #bf8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59ea",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 268.138,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61116,
    "c": 0.21114,
    "h": 302.1
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#9D59EA
secondary
#D1E9B6
accent
#DA0C79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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