#9F58EF#9F58EF

#9F58EF is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.218 H 301.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9F58EF
RGBrgb(159, 88, 239)
HSLhsl(268, 83%, 64%)
HSVhsv(268, 63%, 94%)
CMYKcmyk(33.5%, 63.2%, 0%, 6.3%)
CIE-LABlab(52.49, 57.50, -65.24)
CIE-LCHlch(52.49, 86.96, 311.39°)
OKLaboklab(61.54% 0.1155 -0.1853)
OKLCHoklch(61.54% 0.218 301.9)
XYZxyz(33.3641, 20.5823, 83.8597)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58EF #A8EF58
analogous
#585DEF #9F58EF #EB58EF
triadic
#9F58EF #EF9F58 #58EF9F
tetradic
#9F58EF #EF585D #A8EF58 #58EFEB
square
#9F58EF #EF585D #A8EF58 #58EFEB
split-complementary
#9F58EF #EFEB58 #5DEF58
monochromatic
#6112BB #7F20EA #9F58EF #BF90F4 #DFC8FA

Accessibility & contrast

On white

4.10
#9F58EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9F58EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58EF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58EF#FFFFFF#000000##000000
##9F58EF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#207DEC
Tritanopia (blue-blind)
#8F799C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f58ef;
/* rgb */ color: rgb(159, 88, 239);
/* oklch */ color: oklch(61.5% 0.218 301.9);
Tailwind
colors: {
  custom: {
    50: '#c08bf5',
    500: '#9f58ef',
    950: '#000000',
  },
}
SCSS
$custom: #9f58ef;
$custom-light: #c08bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58ef",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 268.212,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.21836,
    "h": 301.9
  },
  "luminance": 0.20582
}

Semantic roles & 50–950 ramp

primary
#9F58EF
secondary
#D3ECB7
accent
#DF0779
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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