#9F58EC#9F58EC

#9F58EC is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.215 H 302.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9F58EC
RGBrgb(159, 88, 236)
HSLhsl(269, 80%, 64%)
HSVhsv(269, 63%, 93%)
CMYKcmyk(32.6%, 62.7%, 0%, 7.5%)
CIE-LABlab(52.29, 56.78, -63.88)
CIE-LCHlch(52.29, 85.47, 311.64°)
OKLaboklab(61.33% 0.1157 -0.1813)
OKLCHoklch(61.33% 0.215 302.6)
XYZxyz(32.9246, 20.4065, 81.5449)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58EC #A5EC58
analogous
#585BEC #9F58EC #E958EC
triadic
#9F58EC #EC9F58 #58EC9F
tetradic
#9F58EC #EC585B #A5EC58 #58ECE9
square
#9F58EC #EC585B #A5EC58 #58ECE9
split-complementary
#9F58EC #ECE958 #5BEC58
monochromatic
#6215B5 #7F21E6 #9F58EC #BF8FF2 #DEC6F9

Accessibility & contrast

On white

4.13
#9F58EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9F58EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58EC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58EC#FFFFFF#000000##000000
##9F58EC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#90789A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f58ec;
/* rgb */ color: rgb(159, 88, 236);
/* oklch */ color: oklch(61.3% 0.215 302.6);
Tailwind
colors: {
  custom: {
    50: '#c08bf3',
    500: '#9f58ec',
    950: '#000000',
  },
}
SCSS
$custom: #9f58ec;
$custom-light: #c08bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58ec",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 268.784,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.21507,
    "h": 302.6
  },
  "luminance": 0.20407
}

Semantic roles & 50–950 ramp

primary
#9F58EC
secondary
#D1EAB6
accent
#DC0A77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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