#9E59F2#9E59F2

#9E59F2 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.220 H 300.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9E59F2
RGBrgb(158, 89, 242)
HSLhsl(267, 85%, 65%)
HSVhsv(267, 63%, 95%)
CMYKcmyk(34.7%, 63.2%, 0%, 5.1%)
CIE-LABlab(52.76, 57.51, -66.49)
CIE-LCHlch(52.76, 87.91, 310.86°)
OKLaboklab(61.77% 0.1129 -0.189)
OKLCHoklch(61.77% 0.22 300.9)
XYZxyz(33.6961, 20.8245, 86.2315)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E59F2 #ADF259
analogous
#5960F2 #9E59F2 #EB59F2
triadic
#9E59F2 #F29E59 #59F29E
tetradic
#9E59F2 #F25960 #ADF259 #59F2EB
square
#9E59F2 #F25960 #ADF259 #59F2EB
split-complementary
#9E59F2 #F2EB59 #60F259
monochromatic
#600FC1 #7D20EE #9E59F2 #BF92F6 #E0CBFB

Accessibility & contrast

On white

4.07
#9E59F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9E59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E59F2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E59F2#FFFFFF#000000##000000
##9E59F21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#187DEF
Tritanopia (blue-blind)
#8C7B9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e59f2;
/* rgb */ color: rgb(158, 89, 242);
/* oklch */ color: oklch(61.8% 0.220 300.9);
Tailwind
colors: {
  custom: {
    50: '#c08cf7',
    500: '#9e59f2',
    950: '#000000',
  },
}
SCSS
$custom: #9e59f2;
$custom-light: #c08cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e59f2",
  "rgb": {
    "r": 158,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 267.059,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61766,
    "c": 0.22015,
    "h": 300.9
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#9E59F2
secondary
#D6EDB9
accent
#E2047E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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