#9F59EA#9F59EA

#9F59EA is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.212 H 302.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9F59EA
RGBrgb(159, 89, 234)
HSLhsl(269, 78%, 63%)
HSVhsv(269, 62%, 92%)
CMYKcmyk(32.1%, 62%, 0%, 8.2%)
CIE-LABlab(52.35, 55.81, -62.67)
CIE-LCHlch(52.35, 83.92, 311.69°)
OKLaboklab(61.33% 0.1147 -0.1777)
OKLCHoklch(61.33% 0.212 302.8)
XYZxyz(32.7183, 20.4562, 80.0507)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59EA #A4EA59
analogous
#595BEA #9F59EA #E859EA
triadic
#9F59EA #EA9F59 #59EA9F
tetradic
#9F59EA #EA595B #A4EA59 #59EAE8
square
#9F59EA #EA595B #A4EA59 #59EAE8
split-complementary
#9F59EA #EAE859 #5BEA59
monochromatic
#6217B2 #8023E3 #9F59EA #BE8FF1 #DEC6F8

Accessibility & contrast

On white

4.12
#9F59EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9F59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59EA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59EA#FFFFFF#000000##000000
##9F59EA1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#2D7CE7
Tritanopia (blue-blind)
#907899
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f59ea;
/* rgb */ color: rgb(159, 89, 234);
/* oklch */ color: oklch(61.3% 0.212 302.8);
Tailwind
colors: {
  custom: {
    50: '#c08bf1',
    500: '#9f59ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f59ea;
$custom-light: #c08bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59ea",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 268.966,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61331,
    "c": 0.21154,
    "h": 302.8
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

primary
#9F59EA
secondary
#D0E9B6
accent
#DA0C76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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