#9F59E5#9F59E5

#9F59E5 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.206 H 303.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9F59E5
RGBrgb(159, 89, 229)
HSLhsl(270, 73%, 62%)
HSVhsv(270, 61%, 90%)
CMYKcmyk(30.6%, 61.1%, 0%, 10.2%)
CIE-LABlab(52.03, 54.63, -60.36)
CIE-LCHlch(52.03, 81.41, 312.15°)
OKLaboklab(61% 0.115 -0.171)
OKLCHoklch(61% 0.206 303.9)
XYZxyz(32.0101, 20.1729, 76.3209)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59E5 #9FE559
analogous
#5959E5 #9F59E5 #E559E5
triadic
#9F59E5 #E59F59 #59E59F
tetradic
#9F59E5 #E55959 #9FE559 #59E5E5
square
#9F59E5 #E55959 #9FE559 #59E5E5
split-complementary
#9F59E5 #E5E559 #59E559
monochromatic
#621AA9 #8024DD #9F59E5 #BE8EED #DCC3F6

Accessibility & contrast

On white

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

On black

5.03
#9F59E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59E5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59E5#FFFFFF#000000##000000
##9F59E51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#927697
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f59e5;
/* rgb */ color: rgb(159, 89, 229);
/* oklch */ color: oklch(61.0% 0.206 303.9);
Tailwind
colors: {
  custom: {
    50: '#c08bee',
    500: '#9f59e5',
    950: '#000000',
  },
}
SCSS
$custom: #9f59e5;
$custom-light: #c08bee;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59e5",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 270,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61,
    "c": 0.20603,
    "h": 303.9
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#9F59E5
secondary
#CDE6B3
accent
#D51073
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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