#9A58CD#9A58CD

#9A58CD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.179 H 307.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9A58CD
RGBrgb(154, 88, 205)
HSLhsl(274, 54%, 57%)
HSVhsv(274, 57%, 80%)
CMYKcmyk(24.9%, 57.1%, 0%, 19.6%)
CIE-LABlab(49.81, 48.38, -50.33)
CIE-LCHlch(49.81, 69.81, 313.87°)
OKLaboklab(58.78% 0.1101 -0.1417)
OKLCHoklch(58.78% 0.179 307.8)
XYZxyz(27.8334, 18.2576, 59.8036)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A58CD #8BCD58
analogous
#5F58CD #9A58CD #CD58C6
triadic
#9A58CD #CD9A58 #58CD9A
tetradic
#9A58CD #CD5F58 #8BCD58 #58C6CD
square
#9A58CD #CD5F58 #8BCD58 #58C6CD
split-complementary
#9A58CD #C6CD58 #58CD5F
monochromatic
#5B2783 #7C35B2 #9A58CD #B687DB #D3B6E9

Accessibility & contrast

On white

4.51
#9A58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9A58CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A58CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A58CD#FFFFFF#000000##000000
##9A58CD1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#926E8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a58cd;
/* rgb */ color: rgb(154, 88, 205);
/* oklch */ color: oklch(58.8% 0.179 307.8);
Tailwind
colors: {
  custom: {
    50: '#bb8add',
    500: '#9a58cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a58cd;
$custom-light: #bb8add;
$custom-dark: #000000;
JSON
{
  "hex": "#9a58cd",
  "rgb": {
    "r": 154,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 273.846,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.1794,
    "h": 307.8
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#9A58CD
secondary
#BDD8A9
accent
#DD4B8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9A58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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