#A159DB#A159DB

#A159DB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.6% C 0.196 H 307.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A159DB
RGBrgb(161, 89, 219)
HSLhsl(273, 64%, 60%)
HSVhsv(273, 59%, 86%)
CMYKcmyk(26.5%, 59.4%, 0%, 14.1%)
CIE-LABlab(51.65, 52.77, -55.31)
CIE-LCHlch(51.65, 76.44, 313.65°)
OKLaboklab(60.58% 0.1178 -0.1561)
OKLCHoklch(60.58% 0.196 307)
XYZxyz(31.0538, 19.8366, 69.1970)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159DB #93DB59
analogous
#6059DB #A159DB #DB59D4
triadic
#A159DB #DBA159 #59DBA1
tetradic
#A159DB #DB6059 #93DB59 #59D4DB
square
#A159DB #DB6059 #93DB59 #59D4DB
split-complementary
#A159DB #D4DB59 #59DB60
monochromatic
#632199 #842CCB #A159DB #BD8BE6 #DABEF1

Accessibility & contrast

On white

4.23
#A159DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A159DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159DB#FFFFFF#000000##000000
##A159DB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2079DF
Deuteranopia (green-blind)
#437CD8
Tritanopia (blue-blind)
#987292
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a159db;
/* rgb */ color: rgb(161, 89, 219);
/* oklch */ color: oklch(60.6% 0.196 307.0);
Tailwind
colors: {
  custom: {
    50: '#c08be7',
    500: '#a159db',
    950: '#000000',
  },
}
SCSS
$custom: #a159db;
$custom-light: #c08be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a159db",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 273.231,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.19552,
    "h": 307
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#A159DB
secondary
#C5E1AF
accent
#CC1969
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A159DB

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

Preview Lab → · Contrast checker → · Palette generator →

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