#9A58E5#9A58E5

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

Color values

HEX#9A58E5
RGBrgb(154, 88, 229)
HSLhsl(268, 73%, 62%)
HSVhsv(268, 62%, 90%)
CMYKcmyk(32.8%, 61.6%, 0%, 10.2%)
CIE-LABlab(51.27, 54.03, -61.61)
CIE-LCHlch(51.27, 81.95, 311.25°)
OKLaboklab(60.32% 0.1097 -0.1748)
OKLCHoklch(60.32% 0.206 302.1)
XYZxyz(30.9557, 19.5065, 76.2478)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58E5 #A3E558
analogous
#585DE5 #9A58E5 #E058E5
triadic
#9A58E5 #E59A58 #58E59A
tetradic
#9A58E5 #E5585D #A3E558 #58E5E0
square
#9A58E5 #E5585D #A3E558 #58E5E0
split-complementary
#9A58E5 #E5E058 #5DE558
monochromatic
#5D1AA8 #7A23DD #9A58E5 #BA8DED #DAC2F5

Accessibility & contrast

On white

4.28
#9A58E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9A58E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58E5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58E5#FFFFFF#000000##000000
##9A58E51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a58e5;
/* rgb */ color: rgb(154, 88, 229);
/* oklch */ color: oklch(60.3% 0.206 302.1);
Tailwind
colors: {
  custom: {
    50: '#bc8aee',
    500: '#9a58e5',
    950: '#000000',
  },
}
SCSS
$custom: #9a58e5;
$custom-light: #bc8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58e5",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 268.085,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.20635,
    "h": 302.1
  },
  "luminance": 0.19507
}

Semantic roles & 50–950 ramp

primary
#9A58E5
secondary
#CEE6B3
accent
#D51079
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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