#9A58E8#9A58E8

#9A58E8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.210 H 301.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9A58E8
RGBrgb(154, 88, 232)
HSLhsl(268, 76%, 63%)
HSVhsv(268, 62%, 91%)
CMYKcmyk(33.6%, 62.1%, 0%, 9%)
CIE-LABlab(51.47, 54.76, -62.99)
CIE-LCHlch(51.47, 83.46, 311.00°)
OKLaboklab(60.53% 0.1095 -0.1788)
OKLCHoklch(60.53% 0.21 301.5)
XYZxyz(31.3782, 19.6755, 78.4729)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58E8 #A6E858
analogous
#585EE8 #9A58E8 #E258E8
triadic
#9A58E8 #E89A58 #58E89A
tetradic
#9A58E8 #E8585E #A6E858 #58E8E2
square
#9A58E8 #E8585E #A6E858 #58E8E2
split-complementary
#9A58E8 #E8E258 #5EE858
monochromatic
#5D18AE #7922E1 #9A58E8 #BB8EEF #DBC4F7

Accessibility & contrast

On white

4.26
#9A58E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9A58E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58E8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58E8#FFFFFF#000000##000000
##9A58E81.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#257AE5
Tritanopia (blue-blind)
#8A7798
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9a58e8;
/* rgb */ color: rgb(154, 88, 232);
/* oklch */ color: oklch(60.5% 0.210 301.5);
Tailwind
colors: {
  custom: {
    50: '#bd8af0',
    500: '#9a58e8',
    950: '#000000',
  },
}
SCSS
$custom: #9a58e8;
$custom-light: #bd8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58e8",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 267.5,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.2097,
    "h": 301.5
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#9A58E8
secondary
#D0E8B4
accent
#D80E7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9A58E8

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

Preview Lab → · Contrast checker → · Palette generator →

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