#9D58E7#9D58E7

#9D58E7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.209 H 302.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9D58E7
RGBrgb(157, 88, 231)
HSLhsl(269, 75%, 63%)
HSVhsv(269, 62%, 91%)
CMYKcmyk(32%, 61.9%, 0%, 9.4%)
CIE-LABlab(51.74, 55.17, -61.97)
CIE-LCHlch(51.74, 82.96, 311.68°)
OKLaboklab(60.78% 0.1135 -0.1757)
OKLCHoklch(60.78% 0.209 302.9)
XYZxyz(31.8148, 19.9171, 77.7541)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58E7 #A2E758
analogous
#585BE7 #9D58E7 #E458E7
triadic
#9D58E7 #E79D58 #58E79D
tetradic
#9D58E7 #E7585B #A2E758 #58E7E4
square
#9D58E7 #E7585B #A2E758 #58E7E4
split-complementary
#9D58E7 #E7E458 #5BE758
monochromatic
#6019AC #7E22DF #9D58E7 #BC8EEF #DCC3F6

Accessibility & contrast

On white

4.21
#9D58E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9D58E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58E7#FFFFFF#000000##000000
##9D58E71.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#2C7BE4
Tritanopia (blue-blind)
#8F7698
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d58e7;
/* rgb */ color: rgb(157, 88, 231);
/* oklch */ color: oklch(60.8% 0.209 302.9);
Tailwind
colors: {
  custom: {
    50: '#be8bef',
    500: '#9d58e7',
    950: '#000000',
  },
}
SCSS
$custom: #9d58e7;
$custom-light: #be8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58e7",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 268.951,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.20917,
    "h": 302.9
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

primary
#9D58E7
secondary
#CEE7B3
accent
#D70E76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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