#9A59BF#9A59BF

#9A59BF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.162 H 311.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9A59BF
RGBrgb(154, 89, 191)
HSLhsl(278, 44%, 55%)
HSVhsv(278, 53%, 75%)
CMYKcmyk(19.4%, 53.4%, 0%, 25.1%)
CIE-LABlab(49.22, 44.68, -43.20)
CIE-LCHlch(49.22, 62.15, 315.97°)
OKLaboklab(58.1% 0.108 -0.1208)
OKLCHoklch(58.1% 0.162 311.8)
XYZxyz(26.3011, 17.7769, 51.3259)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A59BF #7EBF59
analogous
#6759BF #9A59BF #BF59B1
triadic
#9A59BF #BF9A59 #59BF9A
tetradic
#9A59BF #BF6759 #7EBF59 #59B1BF
square
#9A59BF #BF6759 #7EBF59 #59B1BF
split-complementary
#9A59BF #B1BF59 #59BF67
monochromatic
#582C72 #7B3D9E #9A59BF #B585D0 #D0B1E1

Accessibility & contrast

On white

4.61
#9A59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9A59BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A59BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A59BF#FFFFFF#000000##FFFFFF
##9A59BF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#966A84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a59bf;
/* rgb */ color: rgb(154, 89, 191);
/* oklch */ color: oklch(58.1% 0.162 311.8);
Tailwind
colors: {
  custom: {
    50: '#ba8ad3',
    500: '#9a59bf',
    950: '#000000',
  },
}
SCSS
$custom: #9a59bf;
$custom-light: #ba8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a59bf",
  "rgb": {
    "r": 154,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 278.235,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.16209,
    "h": 311.8
  },
  "luminance": 0.17776
}

Semantic roles & 50–950 ramp

primary
#9A59BF
secondary
#B4CFA4
accent
#D45482
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9A59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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