#9A58ED#9A58ED

#9A58ED is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.215 H 300.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9A58ED
RGBrgb(154, 88, 237)
HSLhsl(267, 81%, 64%)
HSVhsv(267, 63%, 93%)
CMYKcmyk(35%, 62.9%, 0%, 7.1%)
CIE-LABlab(51.80, 55.97, -65.27)
CIE-LCHlch(51.80, 85.98, 310.61°)
OKLaboklab(60.87% 0.1092 -0.1855)
OKLCHoklch(60.87% 0.215 300.5)
XYZxyz(32.0985, 19.9637, 82.2666)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58ED #ABED58
analogous
#5860ED #9A58ED #E458ED
triadic
#9A58ED #ED9A58 #58ED9A
tetradic
#9A58ED #ED5860 #ABED58 #58EDE4
square
#9A58ED #ED5860 #ABED58 #58EDE4
split-complementary
#9A58ED #EDE458 #60ED58
monochromatic
#5C14B7 #7921E7 #9A58ED #BB8FF3 #DDC6F9

Accessibility & contrast

On white

4.21
#9A58ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9A58ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58ED
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58ED#FFFFFF#000000##000000
##9A58ED1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#197AEA
Tritanopia (blue-blind)
#88799B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9a58ed;
/* rgb */ color: rgb(154, 88, 237);
/* oklch */ color: oklch(60.9% 0.215 300.5);
Tailwind
colors: {
  custom: {
    50: '#bd8bf4',
    500: '#9a58ed',
    950: '#000000',
  },
}
SCSS
$custom: #9a58ed;
$custom-light: #bd8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58ed",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 266.577,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60867,
    "c": 0.21527,
    "h": 300.5
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#9A58ED
secondary
#D3EBB6
accent
#DD097F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9A58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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