#9A59EA#9A59EA

#9A59EA is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.211 H 300.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9A59EA
RGBrgb(154, 89, 234)
HSLhsl(267, 78%, 63%)
HSVhsv(267, 62%, 92%)
CMYKcmyk(34.2%, 62%, 0%, 8.2%)
CIE-LABlab(51.79, 54.73, -63.60)
CIE-LCHlch(51.79, 83.91, 310.71°)
OKLaboklab(60.8% 0.1083 -0.1806)
OKLCHoklch(60.8% 0.211 300.9)
XYZxyz(31.7465, 19.9551, 80.0051)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A59EA #A9EA59
analogous
#5960EA #9A59EA #E359EA
triadic
#9A59EA #EA9A59 #59EA9A
tetradic
#9A59EA #EA5960 #A9EA59 #59EAE3
square
#9A59EA #EA5960 #A9EA59 #59EAE3
split-complementary
#9A59EA #EAE359 #60EA59
monochromatic
#5C17B2 #7923E3 #9A59EA #BB8FF1 #DCC6F8

Accessibility & contrast

On white

4.21
#9A59EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9A59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A59EA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A59EA#FFFFFF#000000##000000
##9A59EA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#237BE7
Tritanopia (blue-blind)
#897899
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9a59ea;
/* rgb */ color: rgb(154, 89, 234);
/* oklch */ color: oklch(60.8% 0.211 300.9);
Tailwind
colors: {
  custom: {
    50: '#bd8bf2',
    500: '#9a59ea',
    950: '#000000',
  },
}
SCSS
$custom: #9a59ea;
$custom-light: #bd8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a59ea",
  "rgb": {
    "r": 154,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 266.897,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60797,
    "c": 0.21059,
    "h": 300.9
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#9A59EA
secondary
#D2E9B6
accent
#DA0C7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9A59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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