#9D58CA#9D58CA

#9D58CA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.177 H 310.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9D58CA
RGBrgb(157, 88, 202)
HSLhsl(276, 52%, 57%)
HSVhsv(276, 56%, 79%)
CMYKcmyk(22.3%, 56.4%, 0%, 20.8%)
CIE-LABlab(49.99, 48.45, -48.29)
CIE-LCHlch(49.99, 68.41, 315.10°)
OKLaboklab(58.94% 0.1138 -0.1356)
OKLCHoklch(58.94% 0.177 310)
XYZxyz(28.0530, 18.4123, 57.9418)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58CA #85CA58
analogous
#6458CA #9D58CA #CA58BE
triadic
#9D58CA #CA9D58 #58CA9D
tetradic
#9D58CA #CA6458 #85CA58 #58BECA
square
#9D58CA #CA6458 #85CA58 #58BECA
split-complementary
#9D58CA #BECA58 #58CA64
monochromatic
#5D287F #7F37AE #9D58CA #B886D9 #D4B5E7

Accessibility & contrast

On white

4.48
#9D58CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9D58CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58CA#FFFFFF#000000##000000
##9D58CA1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#976D89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d58ca;
/* rgb */ color: rgb(157, 88, 202);
/* oklch */ color: oklch(58.9% 0.177 310.0);
Tailwind
colors: {
  custom: {
    50: '#bd8adb',
    500: '#9d58ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d58ca;
$custom-light: #bd8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58ca",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 276.316,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58942,
    "c": 0.17702,
    "h": 310
  },
  "luminance": 0.18412
}

Semantic roles & 50–950 ramp

primary
#9D58CA
secondary
#BAD6A8
accent
#DB4D85
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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