#9D58DF#9D58DF

#9D58DF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.200 H 304.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9D58DF
RGBrgb(157, 88, 223)
HSLhsl(271, 68%, 61%)
HSVhsv(271, 61%, 87%)
CMYKcmyk(29.6%, 60.5%, 0%, 12.5%)
CIE-LABlab(51.24, 53.28, -58.26)
CIE-LCHlch(51.24, 78.95, 312.44°)
OKLaboklab(60.25% 0.1138 -0.1648)
OKLCHoklch(60.25% 0.2 304.6)
XYZxyz(30.7107, 19.4754, 71.9390)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58DF #9ADF58
analogous
#5958DF #9D58DF #DF58DD
triadic
#9D58DF #DF9D58 #58DF9D
tetradic
#9D58DF #DF5958 #9ADF58 #58DDDF
square
#9D58DF #DF5958 #9ADF58 #58DDDF
split-complementary
#9D58DF #DDDF58 #58DF59
monochromatic
#601E9E #7F28D2 #9D58DF #BB8BE9 #D9BFF3

Accessibility & contrast

On white

4.29
#9D58DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9D58DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58DF#FFFFFF#000000##000000
##9D58DF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A78E3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#917493
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d58df;
/* rgb */ color: rgb(157, 88, 223);
/* oklch */ color: oklch(60.3% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#be8aea',
    500: '#9d58df',
    950: '#000000',
  },
}
SCSS
$custom: #9d58df;
$custom-light: #be8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58df",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 270.667,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60253,
    "c": 0.20032,
    "h": 304.6
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#9D58DF
secondary
#C9E3B0
accent
#D01671
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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