#9F59E9#9F59E9

#9F59E9 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.210 H 303.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9F59E9
RGBrgb(159, 89, 233)
HSLhsl(269, 77%, 63%)
HSVhsv(269, 62%, 91%)
CMYKcmyk(31.8%, 61.8%, 0%, 8.6%)
CIE-LABlab(52.29, 55.57, -62.21)
CIE-LCHlch(52.29, 83.42, 311.78°)
OKLaboklab(61.26% 0.1148 -0.1764)
OKLCHoklch(61.26% 0.21 303.1)
XYZxyz(32.5751, 20.3989, 79.2962)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59E9 #A3E959
analogous
#595BE9 #9F59E9 #E759E9
triadic
#9F59E9 #E99F59 #59E99F
tetradic
#9F59E9 #E9595B #A3E959 #59E9E7
square
#9F59E9 #E9595B #A3E959 #59E9E7
split-complementary
#9F59E9 #E9E759 #5BE959
monochromatic
#6217B0 #8023E2 #9F59E9 #BE8FF0 #DEC5F7

Accessibility & contrast

On white

4.13
#9F59E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9F59E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59E9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59E9#FFFFFF#000000##000000
##9F59E91.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#2E7CE6
Tritanopia (blue-blind)
#917799
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f59e9;
/* rgb */ color: rgb(159, 89, 233);
/* oklch */ color: oklch(61.3% 0.210 303.1);
Tailwind
colors: {
  custom: {
    50: '#c08bf1',
    500: '#9f59e9',
    950: '#000000',
  },
}
SCSS
$custom: #9f59e9;
$custom-light: #c08bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59e9",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 269.167,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.21044,
    "h": 303.1
  },
  "luminance": 0.20399
}

Semantic roles & 50–950 ramp

primary
#9F59E9
secondary
#D0E9B5
accent
#D90D76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F59E9

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

Preview Lab → · Contrast checker → · Palette generator →

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