#9D58E9#9D58E9

#9D58E9 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.211 H 302.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9D58E9
RGBrgb(157, 88, 233)
HSLhsl(269, 77%, 63%)
HSVhsv(269, 62%, 91%)
CMYKcmyk(32.6%, 62.2%, 0%, 8.6%)
CIE-LABlab(51.87, 55.64, -62.88)
CIE-LCHlch(51.87, 83.97, 311.50°)
OKLaboklab(60.91% 0.1134 -0.1784)
OKLCHoklch(60.91% 0.211 302.4)
XYZxyz(32.0989, 20.0307, 79.2502)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58E9 #A4E958
analogous
#585BE9 #9D58E9 #E658E9
triadic
#9D58E9 #E99D58 #58E99D
tetradic
#9D58E9 #E9585B #A4E958 #58E9E6
square
#9D58E9 #E9585B #A4E958 #58E9E6
split-complementary
#9D58E9 #E9E658 #5BE958
monochromatic
#6017AF #7D22E2 #9D58E9 #BD8EF0 #DCC4F7

Accessibility & contrast

On white

4.19
#9D58E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9D58E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58E9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58E9#FFFFFF#000000##000000
##9D58E91.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#297BE6
Tritanopia (blue-blind)
#8E7799
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d58e9;
/* rgb */ color: rgb(157, 88, 233);
/* oklch */ color: oklch(60.9% 0.211 302.4);
Tailwind
colors: {
  custom: {
    50: '#bf8bf1',
    500: '#9d58e9',
    950: '#000000',
  },
}
SCSS
$custom: #9d58e9;
$custom-light: #bf8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58e9",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 268.552,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60914,
    "c": 0.21138,
    "h": 302.4
  },
  "luminance": 0.20031
}

Semantic roles & 50–950 ramp

primary
#9D58E9
secondary
#D0E8B4
accent
#D90D78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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