#9D58E6#9D58E6

#9D58E6 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.208 H 303.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9D58E6
RGBrgb(157, 88, 230)
HSLhsl(269, 74%, 62%)
HSVhsv(269, 62%, 90%)
CMYKcmyk(31.7%, 61.7%, 0%, 9.8%)
CIE-LABlab(51.68, 54.93, -61.51)
CIE-LCHlch(51.68, 82.46, 311.77°)
OKLaboklab(60.71% 0.1135 -0.1744)
OKLCHoklch(60.71% 0.208 303.1)
XYZxyz(31.6740, 19.8607, 77.0124)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58E6 #A1E658
analogous
#585AE6 #9D58E6 #E458E6
triadic
#9D58E6 #E69D58 #58E69D
tetradic
#9D58E6 #E6585A #A1E658 #58E6E4
square
#9D58E6 #E6585A #A1E658 #58E6E4
split-complementary
#9D58E6 #E6E458 #5AE658
monochromatic
#6019AA #7E23DE #9D58E6 #BC8DEE #DBC2F6

Accessibility & contrast

On white

4.22
#9D58E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9D58E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58E6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58E6#FFFFFF#000000##000000
##9D58E61.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#2E7BE3
Tritanopia (blue-blind)
#8F7697
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d58e6;
/* rgb */ color: rgb(157, 88, 230);
/* oklch */ color: oklch(60.7% 0.208 303.1);
Tailwind
colors: {
  custom: {
    50: '#be8bef',
    500: '#9d58e6',
    950: '#000000',
  },
}
SCSS
$custom: #9d58e6;
$custom-light: #be8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58e6",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 269.155,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.20807,
    "h": 303.1
  },
  "luminance": 0.19861
}

Semantic roles & 50–950 ramp

primary
#9D58E6
secondary
#CEE7B3
accent
#D60F76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D58E6

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

Preview Lab → · Contrast checker → · Palette generator →

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