#9F59DD#9F59DD

#9F59DD is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.5% C 0.197 H 305.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9F59DD
RGBrgb(159, 89, 221)
HSLhsl(272, 66%, 61%)
HSVhsv(272, 60%, 87%)
CMYKcmyk(28.1%, 59.7%, 0%, 13.3%)
CIE-LABlab(51.54, 52.76, -56.64)
CIE-LCHlch(51.54, 77.41, 312.97°)
OKLaboklab(60.48% 0.1152 -0.16)
OKLCHoklch(60.48% 0.197 305.8)
XYZxyz(30.9188, 19.7364, 70.5733)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59DD #97DD59
analogous
#5D59DD #9F59DD #DD59D9
triadic
#9F59DD #DD9F59 #59DD9F
tetradic
#9F59DD #DD5D59 #97DD59 #59D9DD
square
#9F59DD #DD5D59 #97DD59 #59D9DD
split-complementary
#9F59DD #D9DD59 #59DD5D
monochromatic
#62209C #812ACF #9F59DD #BC8CE7 #DABFF2

Accessibility & contrast

On white

4.24
#9F59DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9F59DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59DD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59DD#FFFFFF#000000##000000
##9F59DD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1979E1
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#957393
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f59dd;
/* rgb */ color: rgb(159, 89, 221);
/* oklch */ color: oklch(60.5% 0.197 305.8);
Tailwind
colors: {
  custom: {
    50: '#bf8be8',
    500: '#9f59dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f59dd;
$custom-light: #bf8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59dd",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 271.818,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.19719,
    "h": 305.8
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#9F59DD
secondary
#C7E2B0
accent
#CE186D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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