#9A58E4#9A58E4

#9A58E4 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.205 H 302.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9A58E4
RGBrgb(154, 88, 228)
HSLhsl(268, 72%, 62%)
HSVhsv(268, 61%, 89%)
CMYKcmyk(32.5%, 61.4%, 0%, 10.6%)
CIE-LABlab(51.21, 53.79, -61.15)
CIE-LCHlch(51.21, 81.44, 311.34°)
OKLaboklab(60.26% 0.1098 -0.1734)
OKLCHoklch(60.26% 0.205 302.3)
XYZxyz(30.8165, 19.4509, 75.5146)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58E4 #A2E458
analogous
#585CE4 #9A58E4 #E058E4
triadic
#9A58E4 #E49A58 #58E49A
tetradic
#9A58E4 #E4585C #A2E458 #58E4E0
square
#9A58E4 #E4585C #A2E458 #58E4E0
split-complementary
#9A58E4 #E4E058 #5CE458
monochromatic
#5D1BA7 #7A23DB #9A58E4 #BA8DED #DAC1F5

Accessibility & contrast

On white

4.29
#9A58E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9A58E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58E4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58E4#FFFFFF#000000##000000
##9A58E41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2D7AE1
Tritanopia (blue-blind)
#8B7696
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9a58e4;
/* rgb */ color: rgb(154, 88, 228);
/* oklch */ color: oklch(60.3% 0.205 302.3);
Tailwind
colors: {
  custom: {
    50: '#bc8aed',
    500: '#9a58e4',
    950: '#000000',
  },
}
SCSS
$custom: #9a58e4;
$custom-light: #bc8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58e4",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 268.286,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.20524,
    "h": 302.3
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#9A58E4
secondary
#CDE6B2
accent
#D41178
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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