#A04DB2#A04DB2

#A04DB2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.4% C 0.170 H 320.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A04DB2
RGBrgb(160, 77, 178)
HSLhsl(289, 40%, 50%)
HSVhsv(289, 57%, 70%)
CMYKcmyk(10.1%, 56.7%, 0%, 30.2%)
CIE-LABlab(46.97, 49.73, -39.15)
CIE-LCHlch(46.97, 63.29, 321.79°)
OKLaboklab(56.39% 0.1306 -0.1088)
OKLCHoklch(56.39% 0.17 320.2)
XYZxyz(25.1860, 15.9968, 43.8719)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04DB2 #5FB24D
analogous
#6E4DB2 #A04DB2 #B24D91
triadic
#A04DB2 #B2A04D #4DB2A0
tetradic
#A04DB2 #B26E4D #5FB24D #4D91B2
square
#A04DB2 #B26E4D #5FB24D #4D91B2
split-complementary
#A04DB2 #91B24D #4DB26E
monochromatic
#53285D #7A3B87 #A04DB2 #B778C4 #CEA2D7

Accessibility & contrast

On white

5.00
#A04DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A04DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04DB2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04DB2#FFFFFF#000000##FFFFFF
##A04DB21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#A15C78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a04db2;
/* rgb */ color: rgb(160, 77, 178);
/* oklch */ color: oklch(56.4% 0.170 320.2);
Tailwind
colors: {
  custom: {
    50: '#bf83c9',
    500: '#a04db2',
    950: '#000000',
  },
}
SCSS
$custom: #a04db2;
$custom-light: #bf83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a04db2",
  "rgb": {
    "r": 160,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 289.307,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.17002,
    "h": 320.2
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#A04DB2
secondary
#9FC497
accent
#CF586E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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