#9D58E1#9D58E1

#9D58E1 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.203 H 304.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9D58E1
RGBrgb(157, 88, 225)
HSLhsl(270, 70%, 61%)
HSVhsv(270, 61%, 88%)
CMYKcmyk(30.2%, 60.9%, 0%, 11.8%)
CIE-LABlab(51.36, 53.75, -59.19)
CIE-LCHlch(51.36, 79.95, 312.24°)
OKLaboklab(60.38% 0.1137 -0.1676)
OKLCHoklch(60.38% 0.203 304.2)
XYZxyz(30.9819, 19.5839, 73.3674)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58E1 #9CE158
analogous
#5958E1 #9D58E1 #E158E1
triadic
#9D58E1 #E19D58 #58E19D
tetradic
#9D58E1 #E15958 #9CE158 #58E1E1
square
#9D58E1 #E15958 #9CE158 #58E1E1
split-complementary
#9D58E1 #E1E158 #58E159
monochromatic
#601DA2 #7F26D5 #9D58E1 #BB8CEA #DAC0F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D58E1#FFFFFF#000000##000000
##9D58E11.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)
#0079E5
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#917494
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d58e1;
/* rgb */ color: rgb(157, 88, 225);
/* oklch */ color: oklch(60.4% 0.203 304.2);
Tailwind
colors: {
  custom: {
    50: '#be8aeb',
    500: '#9d58e1',
    950: '#000000',
  },
}
SCSS
$custom: #9d58e1;
$custom-light: #be8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58e1",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 270.219,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.20253,
    "h": 304.2
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#9D58E1
secondary
#CAE4B1
accent
#D21472
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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