#9F58EB#9F58EB

#9F58EB is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.214 H 302.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9F58EB
RGBrgb(159, 88, 235)
HSLhsl(269, 79%, 63%)
HSVhsv(269, 63%, 92%)
CMYKcmyk(32.3%, 62.6%, 0%, 7.8%)
CIE-LABlab(52.23, 56.55, -63.42)
CIE-LCHlch(52.23, 84.97, 311.72°)
OKLaboklab(61.26% 0.1158 -0.1799)
OKLCHoklch(61.26% 0.214 302.8)
XYZxyz(32.7797, 20.3485, 80.7819)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58EB #A4EB58
analogous
#585AEB #9F58EB #E958EB
triadic
#9F58EB #EB9F58 #58EB9F
tetradic
#9F58EB #EB585A #A4EB58 #58EBE9
square
#9F58EB #EB585A #A4EB58 #58EBE9
split-complementary
#9F58EB #EBE958 #5AEB58
monochromatic
#6215B3 #8021E4 #9F58EB #BE8FF2 #DEC5F8

Accessibility & contrast

On white

4.14
#9F58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9F58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58EB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58EB#FFFFFF#000000##000000
##9F58EB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#297CE8
Tritanopia (blue-blind)
#90789A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f58eb;
/* rgb */ color: rgb(159, 88, 235);
/* oklch */ color: oklch(61.3% 0.214 302.8);
Tailwind
colors: {
  custom: {
    50: '#c08bf2',
    500: '#9f58eb',
    950: '#000000',
  },
}
SCSS
$custom: #9f58eb;
$custom-light: #c08bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58eb",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 268.98,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.21398,
    "h": 302.8
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#9F58EB
secondary
#D0EAB5
accent
#DB0B76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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