#9F58CF#9F58CF

#9F58CF is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.183 H 309.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9F58CF
RGBrgb(159, 88, 207)
HSLhsl(276, 55%, 58%)
HSVhsv(276, 57%, 81%)
CMYKcmyk(23.2%, 57.5%, 0%, 18.8%)
CIE-LABlab(50.52, 50.08, -50.30)
CIE-LCHlch(50.52, 70.98, 314.87°)
OKLaboklab(59.47% 0.1164 -0.1414)
OKLCHoklch(59.47% 0.183 309.5)
XYZxyz(29.0481, 18.8559, 61.1287)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58CF #88CF58
analogous
#6358CF #9F58CF #CF58C4
triadic
#9F58CF #CF9F58 #58CF9F
tetradic
#9F58CF #CF6358 #88CF58 #58C4CF
square
#9F58CF #CF6358 #88CF58 #58C4CF
split-complementary
#9F58CF #C4CF58 #58CF63
monochromatic
#602786 #8134B6 #9F58CF #BA88DD #D6B7EA

Accessibility & contrast

On white

4.40
#9F58CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9F58CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58CF#FFFFFF#000000##000000
##9F58CF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#986E8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f58cf;
/* rgb */ color: rgb(159, 88, 207);
/* oklch */ color: oklch(59.5% 0.183 309.5);
Tailwind
colors: {
  custom: {
    50: '#be8ade',
    500: '#9f58cf',
    950: '#000000',
  },
}
SCSS
$custom: #9f58cf;
$custom-light: #be8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58cf",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 275.798,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59472,
    "c": 0.1832,
    "h": 309.5
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#9F58CF
secondary
#BDD9AA
accent
#DF4985
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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