#9F58E8#9F58E8

#9F58E8 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.211 H 303.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9F58E8
RGBrgb(159, 88, 232)
HSLhsl(270, 76%, 63%)
HSVhsv(270, 62%, 91%)
CMYKcmyk(31.5%, 62.1%, 0%, 9%)
CIE-LABlab(52.04, 55.84, -62.05)
CIE-LCHlch(52.04, 83.47, 311.99°)
OKLaboklab(61.06% 0.116 -0.1759)
OKLCHoklch(61.06% 0.211 303.4)
XYZxyz(32.3500, 20.1766, 78.5185)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F58E8 #A1E858
analogous
#5859E8 #9F58E8 #E758E8
triadic
#9F58E8 #E89F58 #58E89F
tetradic
#9F58E8 #E85859 #A1E858 #58E8E7
square
#9F58E8 #E85859 #A1E858 #58E8E7
split-complementary
#9F58E8 #E8E758 #59E858
monochromatic
#6218AE #8022E1 #9F58E8 #BE8EEF #DDC4F7

Accessibility & contrast

On white

4.17
#9F58E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9F58E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F58E8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F58E8#FFFFFF#000000##000000
##9F58E81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#2E7CE5
Tritanopia (blue-blind)
#917698
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f58e8;
/* rgb */ color: rgb(159, 88, 232);
/* oklch */ color: oklch(61.1% 0.211 303.4);
Tailwind
colors: {
  custom: {
    50: '#c08bf0',
    500: '#9f58e8',
    950: '#000000',
  },
}
SCSS
$custom: #9f58e8;
$custom-light: #c08bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f58e8",
  "rgb": {
    "r": 159,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 269.583,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.21069,
    "h": 303.4
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#9F58E8
secondary
#CEE8B4
accent
#D80E74
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F58E8

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

Preview Lab → · Contrast checker → · Palette generator →

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