#9F58DA#9F58DA

#9F58DA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.2% C 0.195 H 306.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9F58DA
RGBrgb(159, 88, 218)
HSLhsl(273, 64%, 60%)
HSVhsv(273, 60%, 85%)
CMYKcmyk(27.1%, 59.6%, 0%, 14.5%)
CIE-LABlab(51.17, 52.58, -55.53)
CIE-LCHlch(51.17, 76.48, 313.43°)
OKLaboklab(60.15% 0.1165 -0.1568)
OKLCHoklch(60.15% 0.195 306.6)
XYZxyz(30.4400, 19.4126, 68.4595)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58DA #93DA58
analogous
#5E58DA #9F58DA #DA58D4
triadic
#9F58DA #DA9F58 #58DA9F
tetradic
#9F58DA #DA5E58 #93DA58 #58D4DA
square
#9F58DA #DA5E58 #93DA58 #58D4DA
split-complementary
#9F58DA #D4DA58 #58DA5E
monochromatic
#612196 #822CC8 #9F58DA #BC8AE5 #D9BCF0

Accessibility & contrast

On white

4.30
#9F58DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9F58DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58DA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58DA#FFFFFF#000000##000000
##9F58DA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C77DE
Deuteranopia (green-blind)
#407AD7
Tritanopia (blue-blind)
#957291
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f58da;
/* rgb */ color: rgb(159, 88, 218);
/* oklch */ color: oklch(60.2% 0.195 306.6);
Tailwind
colors: {
  custom: {
    50: '#bf8ae6',
    500: '#9f58da',
    950: '#000000',
  },
}
SCSS
$custom: #9f58da;
$custom-light: #bf8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58da",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 272.769,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.19531,
    "h": 306.6
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#9F58DA
secondary
#C5E0AE
accent
#E7418C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F58DA

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

Preview Lab → · Contrast checker → · Palette generator →

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