#A159D9#A159D9

#A159D9 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.5% C 0.193 H 307.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A159D9
RGBrgb(161, 89, 217)
HSLhsl(274, 63%, 60%)
HSVhsv(274, 59%, 85%)
CMYKcmyk(25.8%, 59%, 0%, 14.9%)
CIE-LABlab(51.53, 52.31, -54.37)
CIE-LCHlch(51.53, 75.45, 313.90°)
OKLaboklab(60.45% 0.1178 -0.1533)
OKLCHoklch(60.45% 0.193 307.5)
XYZxyz(30.7921, 19.7320, 67.8187)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159D9 #91D959
analogous
#6159D9 #A159D9 #D959D1
triadic
#A159D9 #D9A159 #59D9A1
tetradic
#A159D9 #D96159 #91D959 #59D1D9
square
#A159D9 #D96159 #91D959 #59D1D9
split-complementary
#A159D9 #D1D959 #59D961
monochromatic
#632295 #842EC7 #A159D9 #BD8BE4 #D9BDF0

Accessibility & contrast

On white

4.25
#A159D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A159D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159D9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159D9#FFFFFF#000000##000000
##A159D91.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2478DD
Deuteranopia (green-blind)
#457CD6
Tritanopia (blue-blind)
#987291
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a159d9;
/* rgb */ color: rgb(161, 89, 217);
/* oklch */ color: oklch(60.5% 0.193 307.5);
Tailwind
colors: {
  custom: {
    50: '#c08be5',
    500: '#a159d9',
    950: '#000000',
  },
}
SCSS
$custom: #a159d9;
$custom-light: #c08be5;
$custom-dark: #000000;
JSON
{
  "hex": "#a159d9",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 217
  },
  "hsl": {
    "h": 273.75,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.19334,
    "h": 307.5
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#A159D9
secondary
#C4E0AE
accent
#E6428A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A159D9

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

Preview Lab → · Contrast checker → · Palette generator →

#A159D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva