#9D59F2#9D59F2

#9D59F2 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.220 H 300.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9D59F2
RGBrgb(157, 89, 242)
HSLhsl(267, 85%, 65%)
HSVhsv(267, 63%, 95%)
CMYKcmyk(35.1%, 63.2%, 0%, 5.1%)
CIE-LABlab(52.65, 57.30, -66.68)
CIE-LCHlch(52.65, 87.92, 310.68°)
OKLaboklab(61.66% 0.1116 -0.1896)
OKLCHoklch(61.66% 0.22 300.5)
XYZxyz(33.5001, 20.7234, 86.2223)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59F2 #AEF259
analogous
#5961F2 #9D59F2 #EA59F2
triadic
#9D59F2 #F29D59 #59F29D
tetradic
#9D59F2 #F25961 #AEF259 #59F2EA
square
#9D59F2 #F25961 #AEF259 #59F2EA
split-complementary
#9D59F2 #F2EA59 #61F259
monochromatic
#5E0FC1 #7B20EE #9D59F2 #BF92F6 #E0CBFB

Accessibility & contrast

On white

4.08
#9D59F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9D59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59F2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59F2#FFFFFF#000000##000000
##9D59F21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#157DEF
Tritanopia (blue-blind)
#8B7B9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d59f2;
/* rgb */ color: rgb(157, 89, 242);
/* oklch */ color: oklch(61.7% 0.220 300.5);
Tailwind
colors: {
  custom: {
    50: '#bf8bf7',
    500: '#9d59f2',
    950: '#000000',
  },
}
SCSS
$custom: #9d59f2;
$custom-light: #bf8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59f2",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 266.667,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.21999,
    "h": 300.5
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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