#9F58DD#9F58DD

#9F58DD is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.3% C 0.199 H 305.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9F58DD
RGBrgb(159, 88, 221)
HSLhsl(272, 66%, 61%)
HSVhsv(272, 60%, 87%)
CMYKcmyk(28.1%, 60.2%, 0%, 13.3%)
CIE-LABlab(51.35, 53.27, -56.94)
CIE-LCHlch(51.35, 77.98, 313.09°)
OKLaboklab(60.35% 0.1164 -0.1609)
OKLCHoklch(60.35% 0.199 305.9)
XYZxyz(30.8361, 19.5711, 70.5457)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58DD #96DD58
analogous
#5C58DD #9F58DD #DD58D8
triadic
#9F58DD #DD9F58 #58DD9F
tetradic
#9F58DD #DD5C58 #96DD58 #58D8DD
square
#9F58DD #DD5C58 #96DD58 #58D8DD
split-complementary
#9F58DD #D8DD58 #58DD5C
monochromatic
#61209B #812ACE #9F58DD #BC8BE7 #D9BEF2

Accessibility & contrast

On white

4.27
#9F58DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9F58DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58DD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58DD#FFFFFF#000000##000000
##9F58DD1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1578E1
Deuteranopia (green-blind)
#3D7BDA
Tritanopia (blue-blind)
#957392
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f58dd;
/* rgb */ color: rgb(159, 88, 221);
/* oklch */ color: oklch(60.3% 0.199 305.9);
Tailwind
colors: {
  custom: {
    50: '#bf8ae8',
    500: '#9f58dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f58dd;
$custom-light: #bf8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58dd",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 272.03,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.19862,
    "h": 305.9
  },
  "luminance": 0.19571
}

Semantic roles & 50–950 ramp

primary
#9F58DD
secondary
#C7E2AF
accent
#CE176D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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