#9D59EE#9D59EE

#9D59EE is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.216 H 301.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9D59EE
RGBrgb(157, 89, 238)
HSLhsl(267, 81%, 64%)
HSVhsv(267, 63%, 93%)
CMYKcmyk(34%, 62.6%, 0%, 6.7%)
CIE-LABlab(52.38, 56.34, -64.87)
CIE-LCHlch(52.38, 85.92, 310.97°)
OKLaboklab(61.39% 0.1119 -0.1842)
OKLCHoklch(61.39% 0.216 301.3)
XYZxyz(32.9059, 20.4857, 83.0929)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59EE #AAEE59
analogous
#5960EE #9D59EE #E859EE
triadic
#9D59EE #EE9D59 #59EE9D
tetradic
#9D59EE #EE5960 #AAEE59 #59EEE8
square
#9D59EE #EE5960 #AAEE59 #59EEE8
split-complementary
#9D59EE #EEE859 #60EE59
monochromatic
#5F13BA #7C21E8 #9D59EE #BE91F4 #DFC8F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D59EE#FFFFFF#000000##000000
##9D59EE1.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)
#007CF3
Deuteranopia (green-blind)
#217CEB
Tritanopia (blue-blind)
#8C799C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d59ee;
/* rgb */ color: rgb(157, 89, 238);
/* oklch */ color: oklch(61.4% 0.216 301.3);
Tailwind
colors: {
  custom: {
    50: '#bf8bf4',
    500: '#9d59ee',
    950: '#000000',
  },
}
SCSS
$custom: #9d59ee;
$custom-light: #bf8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59ee",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 267.383,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.21557,
    "h": 301.3
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#9D59EE
secondary
#D4EBB7
accent
#DE087C
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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