#9A59EF#9A59EF

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

Color values

HEX#9A59EF
RGBrgb(154, 89, 239)
HSLhsl(266, 82%, 64%)
HSVhsv(266, 63%, 94%)
CMYKcmyk(35.6%, 62.8%, 0%, 6.3%)
CIE-LABlab(52.11, 55.95, -65.88)
CIE-LCHlch(52.11, 86.43, 310.34°)
OKLaboklab(61.14% 0.1079 -0.1873)
OKLCHoklch(61.14% 0.216 300)
XYZxyz(32.4750, 20.2465, 83.8417)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A59EF #AEEF59
analogous
#5963EF #9A59EF #E559EF
triadic
#9A59EF #EF9A59 #59EF9A
tetradic
#9A59EF #EF5963 #AEEF59 #59EFE5
square
#9A59EF #EF5963 #AEEF59 #59EFE5
split-complementary
#9A59EF #EFE559 #63EF59
monochromatic
#5C12BC #7821EA #9A59EF #BC91F4 #DEC9FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A59EF#FFFFFF#000000##000000
##9A59EF1.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)
#007CF4
Deuteranopia (green-blind)
#167BEC
Tritanopia (blue-blind)
#877A9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9a59ef;
/* rgb */ color: rgb(154, 89, 239);
/* oklch */ color: oklch(61.1% 0.216 300.0);
Tailwind
colors: {
  custom: {
    50: '#bd8bf5',
    500: '#9a59ef',
    950: '#000000',
  },
}
SCSS
$custom: #9a59ef;
$custom-light: #bd8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a59ef",
  "rgb": {
    "r": 154,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 266,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61139,
    "c": 0.21618,
    "h": 300
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#9A59EF
secondary
#D5ECB8
accent
#DF0781
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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