#9D58EA#9D58EA

#9D58EA is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.212 H 302.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9D58EA
RGBrgb(157, 88, 234)
HSLhsl(268, 78%, 63%)
HSVhsv(268, 62%, 92%)
CMYKcmyk(32.9%, 62.4%, 0%, 8.2%)
CIE-LABlab(51.94, 55.88, -63.34)
CIE-LCHlch(51.94, 84.47, 311.42°)
OKLaboklab(60.98% 0.1133 -0.1798)
OKLCHoklch(60.98% 0.212 302.2)
XYZxyz(32.2422, 20.0880, 80.0047)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58EA #A5EA58
analogous
#585CEA #9D58EA #E658EA
triadic
#9D58EA #EA9D58 #58EA9D
tetradic
#9D58EA #EA585C #A5EA58 #58EAE6
square
#9D58EA #EA585C #A5EA58 #58EAE6
split-complementary
#9D58EA #EAE658 #5CEA58
monochromatic
#6016B1 #7D22E3 #9D58EA #BD8EF1 #DDC5F8

Accessibility & contrast

On white

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

On black

5.02
#9D58EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58EA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58EA#FFFFFF#000000##000000
##9D58EA1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#277BE7
Tritanopia (blue-blind)
#8E7799
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d58ea;
/* rgb */ color: rgb(157, 88, 234);
/* oklch */ color: oklch(61.0% 0.212 302.2);
Tailwind
colors: {
  custom: {
    50: '#bf8bf2',
    500: '#9d58ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d58ea;
$custom-light: #bf8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58ea",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 268.356,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.21249,
    "h": 302.2
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#9D58EA
secondary
#D0E9B5
accent
#DA0C78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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