#9F58ED#9F58ED

#9F58ED is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.216 H 302.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9F58ED
RGBrgb(159, 88, 237)
HSLhsl(269, 81%, 64%)
HSVhsv(269, 63%, 93%)
CMYKcmyk(32.9%, 62.9%, 0%, 7.1%)
CIE-LABlab(52.36, 57.02, -64.33)
CIE-LCHlch(52.36, 85.97, 311.55°)
OKLaboklab(61.4% 0.1157 -0.1826)
OKLCHoklch(61.4% 0.216 302.4)
XYZxyz(33.0703, 20.4647, 82.3122)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58ED #A6ED58
analogous
#585BED #9F58ED #EA58ED
triadic
#9F58ED #ED9F58 #58ED9F
tetradic
#9F58ED #ED585B #A6ED58 #58EDEA
square
#9F58ED #ED585B #A6ED58 #58EDEA
split-complementary
#9F58ED #EDEA58 #5BED58
monochromatic
#6114B7 #7F21E7 #9F58ED #BF8FF3 #DFC6F9

Accessibility & contrast

On white

4.12
#9F58ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9F58ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58ED
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58ED#FFFFFF#000000##000000
##9F58ED1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#257CEA
Tritanopia (blue-blind)
#8F789B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f58ed;
/* rgb */ color: rgb(159, 88, 237);
/* oklch */ color: oklch(61.4% 0.216 302.4);
Tailwind
colors: {
  custom: {
    50: '#c08bf4',
    500: '#9f58ed',
    950: '#000000',
  },
}
SCSS
$custom: #9f58ed;
$custom-light: #c08bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58ed",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 268.591,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61399,
    "c": 0.21617,
    "h": 302.4
  },
  "luminance": 0.20465
}

Semantic roles & 50–950 ramp

primary
#9F58ED
secondary
#D2EBB6
accent
#DD0978
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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