#9A58DB#9A58DB

#9A58DB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.195 H 304.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9A58DB
RGBrgb(154, 88, 219)
HSLhsl(270, 65%, 60%)
HSVhsv(270, 60%, 86%)
CMYKcmyk(29.7%, 59.8%, 0%, 14.1%)
CIE-LABlab(50.65, 51.65, -56.97)
CIE-LCHlch(50.65, 76.90, 312.19°)
OKLaboklab(59.67% 0.1101 -0.1611)
OKLCHoklch(59.67% 0.195 304.3)
XYZxyz(29.5995, 18.9641, 69.1052)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58DB #99DB58
analogous
#5858DB #9A58DB #DB58DA
triadic
#9A58DB #DB9A58 #58DB9A
tetradic
#9A58DB #DB5858 #99DB58 #58DADB
square
#9A58DB #DB5858 #99DB58 #58DADB
split-complementary
#9A58DB #DADB58 #58DB58
monochromatic
#5D2198 #7C2CCA #9A58DB #B88AE6 #D7BDF1

Accessibility & contrast

On white

4.38
#9A58DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9A58DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58DB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58DB#FFFFFF#000000##000000
##9A58DB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1477DF
Deuteranopia (green-blind)
#3979D8
Tritanopia (blue-blind)
#8E7391
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9a58db;
/* rgb */ color: rgb(154, 88, 219);
/* oklch */ color: oklch(59.7% 0.195 304.3);
Tailwind
colors: {
  custom: {
    50: '#bc8ae7',
    500: '#9a58db',
    950: '#000000',
  },
}
SCSS
$custom: #9a58db;
$custom-light: #bc8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58db",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 270.229,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.19514,
    "h": 304.3
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#9A58DB
secondary
#C7E1AE
accent
#CC1972
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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