#9F58D2#9F58D2

#9F58D2 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.187 H 308.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9F58D2
RGBrgb(159, 88, 210)
HSLhsl(275, 58%, 58%)
HSVhsv(275, 58%, 82%)
CMYKcmyk(24.3%, 58.1%, 0%, 17.6%)
CIE-LABlab(50.69, 50.75, -51.74)
CIE-LCHlch(50.69, 72.48, 314.45°)
OKLaboklab(59.66% 0.1165 -0.1457)
OKLCHoklch(59.66% 0.187 308.6)
XYZxyz(29.4184, 19.0040, 63.0786)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58D2 #8BD258
analogous
#6258D2 #9F58D2 #D258C8
triadic
#9F58D2 #D29F58 #58D29F
tetradic
#9F58D2 #D26258 #8BD258 #58C8D2
square
#9F58D2 #D26258 #8BD258 #58C8D2
split-complementary
#9F58D2 #C8D258 #58D262
monochromatic
#60258A #8232BB #9F58D2 #BB88DF #D6B8EC

Accessibility & contrast

On white

4.37
#9F58D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9F58D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58D2#FFFFFF#000000##000000
##9F58D21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#487ACF
Tritanopia (blue-blind)
#986F8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f58d2;
/* rgb */ color: rgb(159, 88, 210);
/* oklch */ color: oklch(59.7% 0.187 308.6);
Tailwind
colors: {
  custom: {
    50: '#bf8ae0',
    500: '#9f58d2',
    950: '#000000',
  },
}
SCSS
$custom: #9f58d2;
$custom-light: #bf8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58d2",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 274.918,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59655,
    "c": 0.18651,
    "h": 308.6
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#9F58D2
secondary
#BFDBAB
accent
#E14787
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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