#9F59F2#9F59F2

#9F59F2 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.220 H 301.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9F59F2
RGBrgb(159, 89, 242)
HSLhsl(267, 85%, 65%)
HSVhsv(267, 63%, 95%)
CMYKcmyk(34.3%, 63.2%, 0%, 5.1%)
CIE-LABlab(52.87, 57.72, -66.31)
CIE-LCHlch(52.87, 87.91, 311.04°)
OKLaboklab(61.87% 0.1142 -0.1884)
OKLCHoklch(61.87% 0.22 301.2)
XYZxyz(33.8936, 20.9263, 86.2407)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59F2 #ACF259
analogous
#5960F2 #9F59F2 #EC59F2
triadic
#9F59F2 #F29F59 #59F29F
tetradic
#9F59F2 #F25960 #ACF259 #59F2EC
square
#9F59F2 #F25960 #ACF259 #59F2EC
split-complementary
#9F59F2 #F2EC59 #60F259
monochromatic
#610FC1 #7E20EE #9F59F2 #C092F6 #E1CBFB

Accessibility & contrast

On white

4.05
#9F59F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9F59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59F2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59F2#FFFFFF#000000##000000
##9F59F21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#1B7DEF
Tritanopia (blue-blind)
#8E7B9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f59f2;
/* rgb */ color: rgb(159, 89, 242);
/* oklch */ color: oklch(61.9% 0.220 301.2);
Tailwind
colors: {
  custom: {
    50: '#c18cf7',
    500: '#9f59f2',
    950: '#000000',
  },
}
SCSS
$custom: #9f59f2;
$custom-light: #c18cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59f2",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 267.451,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.22033,
    "h": 301.2
  },
  "luminance": 0.20926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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