#9D58DD#9D58DD

#9D58DD is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.198 H 305.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9D58DD
RGBrgb(157, 88, 221)
HSLhsl(271, 66%, 61%)
HSVhsv(271, 60%, 87%)
CMYKcmyk(29%, 60.2%, 0%, 13.3%)
CIE-LABlab(51.12, 52.81, -57.33)
CIE-LCHlch(51.12, 77.95, 312.65°)
OKLaboklab(60.12% 0.1139 -0.1621)
OKLCHoklch(60.12% 0.198 305.1)
XYZxyz(30.4426, 19.3682, 70.5273)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58DD #98DD58
analogous
#5A58DD #9D58DD #DD58DA
triadic
#9D58DD #DD9D58 #58DD9D
tetradic
#9D58DD #DD5A58 #98DD58 #58DADD
square
#9D58DD #DD5A58 #98DD58 #58DADD
split-complementary
#9D58DD #DADD58 #58DD5A
monochromatic
#60209B #7F2ACE #9D58DD #BB8BE7 #D9BEF2

Accessibility & contrast

On white

4.31
#9D58DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9D58DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D58DD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58DD#FFFFFF#000000##000000
##9D58DD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1278E1
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#927392
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d58dd;
/* rgb */ color: rgb(157, 88, 221);
/* oklch */ color: oklch(60.1% 0.198 305.1);
Tailwind
colors: {
  custom: {
    50: '#be8ae8',
    500: '#9d58dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d58dd;
$custom-light: #be8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58dd",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 271.128,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60123,
    "c": 0.19811,
    "h": 305.1
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#9D58DD
secondary
#C7E2AF
accent
#CE176F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9D58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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