#9A58EA#9A58EA

#9A58EA is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.212 H 301.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9A58EA
RGBrgb(154, 88, 234)
HSLhsl(267, 78%, 63%)
HSVhsv(267, 62%, 92%)
CMYKcmyk(34.2%, 62.4%, 0%, 8.2%)
CIE-LABlab(51.60, 55.24, -63.90)
CIE-LCHlch(51.60, 84.47, 310.84°)
OKLaboklab(60.66% 0.1094 -0.1815)
OKLCHoklch(60.66% 0.212 301.1)
XYZxyz(31.6639, 19.7898, 79.9776)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58EA #A8EA58
analogous
#585FEA #9A58EA #E358EA
triadic
#9A58EA #EA9A58 #58EA9A
tetradic
#9A58EA #EA585F #A8EA58 #58EAE3
square
#9A58EA #EA585F #A8EA58 #58EAE3
split-complementary
#9A58EA #EAE358 #5FEA58
monochromatic
#5C16B1 #7922E3 #9A58EA #BB8EF1 #DCC5F8

Accessibility & contrast

On white

4.24
#9A58EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9A58EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58EA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58EA#FFFFFF#000000##000000
##9A58EA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#897899
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9a58ea;
/* rgb */ color: rgb(154, 88, 234);
/* oklch */ color: oklch(60.7% 0.212 301.1);
Tailwind
colors: {
  custom: {
    50: '#bd8af2',
    500: '#9a58ea',
    950: '#000000',
  },
}
SCSS
$custom: #9a58ea;
$custom-light: #bd8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58ea",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 267.123,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60661,
    "c": 0.21193,
    "h": 301.1
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#9A58EA
secondary
#D1E9B5
accent
#DA0C7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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