#9F58DB#9F58DB

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

Color values

HEX#9F58DB
RGBrgb(159, 88, 219)
HSLhsl(273, 65%, 60%)
HSVhsv(273, 60%, 86%)
CMYKcmyk(27.4%, 59.8%, 0%, 14.1%)
CIE-LABlab(51.23, 52.81, -56.00)
CIE-LCHlch(51.23, 76.98, 313.32°)
OKLaboklab(60.22% 0.1165 -0.1582)
OKLCHoklch(60.22% 0.196 306.4)
XYZxyz(30.5713, 19.4651, 69.1507)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58DB #94DB58
analogous
#5D58DB #9F58DB #DB58D6
triadic
#9F58DB #DB9F58 #58DB9F
tetradic
#9F58DB #DB5D58 #94DB58 #58D6DB
square
#9F58DB #DB5D58 #94DB58 #58D6DB
split-complementary
#9F58DB #D6DB58 #58DB5D
monochromatic
#612198 #822CCA #9F58DB #BC8AE6 #D9BDF1

Accessibility & contrast

On white

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

On black

4.89
#9F58DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58DB#FFFFFF#000000##000000
##9F58DB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78DF
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#957291
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9f58db;
/* rgb */ color: rgb(159, 88, 219);
/* oklch */ color: oklch(60.2% 0.196 306.4);
Tailwind
colors: {
  custom: {
    50: '#bf8ae7',
    500: '#9f58db',
    950: '#000000',
  },
}
SCSS
$custom: #9f58db;
$custom-light: #bf8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58db",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 272.519,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60217,
    "c": 0.19642,
    "h": 306.4
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#9F58DB
secondary
#C5E1AE
accent
#CC196B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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