#9D58CB#9D58CB

#9D58CB is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.178 H 309.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9D58CB
RGBrgb(157, 88, 203)
HSLhsl(276, 53%, 57%)
HSVhsv(276, 57%, 80%)
CMYKcmyk(22.7%, 56.7%, 0%, 20.4%)
CIE-LABlab(50.05, 48.68, -48.78)
CIE-LCHlch(50.05, 68.91, 314.94°)
OKLaboklab(59% 0.1138 -0.137)
OKLCHoklch(59% 0.178 309.7)
XYZxyz(28.1718, 18.4598, 58.5674)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58CB #86CB58
analogous
#6458CB #9D58CB #CB58BF
triadic
#9D58CB #CB9D58 #58CB9D
tetradic
#9D58CB #CB6458 #86CB58 #58BFCB
square
#9D58CB #CB6458 #86CB58 #58BFCB
split-complementary
#9D58CB #BFCB58 #58CB64
monochromatic
#5D2881 #7F37AF #9D58CB #B887DA #D4B5E8

Accessibility & contrast

On white

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

On black

4.69
#9D58CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58CB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58CB#FFFFFF#000000##000000
##9D58CB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#976D89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d58cb;
/* rgb */ color: rgb(157, 88, 203);
/* oklch */ color: oklch(59.0% 0.178 309.7);
Tailwind
colors: {
  custom: {
    50: '#bd8adb',
    500: '#9d58cb',
    950: '#000000',
  },
}
SCSS
$custom: #9d58cb;
$custom-light: #bd8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58cb",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 276,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.17813,
    "h": 309.7
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#9D58CB
secondary
#BBD7A8
accent
#DC4C85
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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