#9A59EE#9A59EE

#9A59EE is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.215 H 300.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9A59EE
RGBrgb(154, 89, 238)
HSLhsl(266, 81%, 64%)
HSVhsv(266, 63%, 93%)
CMYKcmyk(35.3%, 62.6%, 0%, 6.7%)
CIE-LABlab(52.05, 55.71, -65.42)
CIE-LCHlch(52.05, 85.93, 310.41°)
OKLaboklab(61.07% 0.108 -0.186)
OKLCHoklch(61.07% 0.215 300.1)
XYZxyz(32.3277, 20.1876, 83.0658)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A59EE #ADEE59
analogous
#5963EE #9A59EE #E459EE
triadic
#9A59EE #EE9A59 #59EE9A
tetradic
#9A59EE #EE5963 #ADEE59 #59EEE4
square
#9A59EE #EE5963 #ADEE59 #59EEE4
split-complementary
#9A59EE #EEE459 #63EE59
monochromatic
#5C13BA #7821E8 #9A59EE #BC91F4 #DEC8F9

Accessibility & contrast

On white

4.17
#9A59EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9A59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A59EE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A59EE#FFFFFF#000000##000000
##9A59EE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#197BEB
Tritanopia (blue-blind)
#887A9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9a59ee;
/* rgb */ color: rgb(154, 89, 238);
/* oklch */ color: oklch(61.1% 0.215 300.1);
Tailwind
colors: {
  custom: {
    50: '#bd8bf4',
    500: '#9a59ee',
    950: '#000000',
  },
}
SCSS
$custom: #9a59ee;
$custom-light: #bd8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a59ee",
  "rgb": {
    "r": 154,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 266.174,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6107,
    "c": 0.21507,
    "h": 300.1
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#9A59EE
secondary
#D5EBB7
accent
#DE0880
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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