#9F58E7#9F58E7

#9F58E7 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.210 H 303.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9F58E7
RGBrgb(159, 88, 231)
HSLhsl(270, 75%, 63%)
HSVhsv(270, 62%, 91%)
CMYKcmyk(31.2%, 61.9%, 0%, 9.4%)
CIE-LABlab(51.97, 55.60, -61.59)
CIE-LCHlch(51.97, 82.97, 312.08°)
OKLaboklab(61% 0.1161 -0.1745)
OKLCHoklch(61% 0.21 303.6)
XYZxyz(32.2083, 20.1200, 77.7725)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58E7 #A0E758
analogous
#5859E7 #9F58E7 #E658E7
triadic
#9F58E7 #E79F58 #58E79F
tetradic
#9F58E7 #E75859 #A0E758 #58E7E6
square
#9F58E7 #E75859 #A0E758 #58E7E6
split-complementary
#9F58E7 #E7E658 #59E758
monochromatic
#6219AC #8022DF #9F58E7 #BE8EEF #DDC3F6

Accessibility & contrast

On white

4.18
#9F58E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9F58E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58E7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58E7#FFFFFF#000000##000000
##9F58E71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#307CE4
Tritanopia (blue-blind)
#917698
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f58e7;
/* rgb */ color: rgb(159, 88, 231);
/* oklch */ color: oklch(61.0% 0.210 303.6);
Tailwind
colors: {
  custom: {
    50: '#c08bef',
    500: '#9f58e7',
    950: '#000000',
  },
}
SCSS
$custom: #9f58e7;
$custom-light: #c08bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58e7",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 269.79,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.2096,
    "h": 303.6
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

primary
#9F58E7
secondary
#CEE7B3
accent
#D70E73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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