#9F59DA#9F59DA

#9F59DA is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.3% C 0.194 H 306.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9F59DA
RGBrgb(159, 89, 218)
HSLhsl(273, 64%, 60%)
HSVhsv(273, 59%, 85%)
CMYKcmyk(27.1%, 59.2%, 0%, 14.5%)
CIE-LABlab(51.36, 52.07, -55.23)
CIE-LCHlch(51.36, 75.90, 313.31°)
OKLaboklab(60.29% 0.1153 -0.1559)
OKLCHoklch(60.29% 0.194 306.5)
XYZxyz(30.5227, 19.5779, 68.4870)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59DA #94DA59
analogous
#5E59DA #9F59DA #DA59D5
triadic
#9F59DA #DA9F59 #59DA9F
tetradic
#9F59DA #DA5E59 #94DA59 #59D5DA
square
#9F59DA #DA5E59 #94DA59 #59D5DA
split-complementary
#9F59DA #D5DA59 #59DA5E
monochromatic
#612297 #822DC9 #9F59DA #BC8BE5 #D9BDF0

Accessibility & contrast

On white

4.27
#9F59DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9F59DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59DA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59DA#FFFFFF#000000##000000
##9F59DA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2078DE
Deuteranopia (green-blind)
#417BD7
Tritanopia (blue-blind)
#957291
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f59da;
/* rgb */ color: rgb(159, 89, 218);
/* oklch */ color: oklch(60.3% 0.194 306.5);
Tailwind
colors: {
  custom: {
    50: '#bf8be6',
    500: '#9f59da',
    950: '#000000',
  },
}
SCSS
$custom: #9f59da;
$custom-light: #bf8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59da",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 272.558,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60292,
    "c": 0.19387,
    "h": 306.5
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#9F59DA
secondary
#C5E0AF
accent
#CB1A6B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F59DA

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

Preview Lab → · Contrast checker → · Palette generator →

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