#A04DBA#A04DBA

#A04DBA is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.8% C 0.178 H 317.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A04DBA
RGBrgb(160, 77, 186)
HSLhsl(286, 44%, 52%)
HSVhsv(286, 59%, 73%)
CMYKcmyk(14%, 58.6%, 0%, 27.1%)
CIE-LABlab(47.40, 51.35, -43.14)
CIE-LCHlch(47.40, 67.06, 319.96°)
OKLaboklab(56.84% 0.1311 -0.1204)
OKLCHoklch(56.84% 0.178 317.4)
XYZxyz(26.0127, 16.3275, 48.2261)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04DBA #67BA4D
analogous
#6A4DBA #A04DBA #BA4D9E
triadic
#A04DBA #BAA04D #4DBAA0
tetradic
#A04DBA #BA6A4D #67BA4D #4D9EBA
square
#A04DBA #BA6A4D #67BA4D #4D9EBA
split-complementary
#A04DBA #9EBA4D #4DBA6A
monochromatic
#572765 #7C3891 #A04DBA #B879CB #CFA5DC

Accessibility & contrast

On white

4.92
#A04DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A04DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04DBA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04DBA#FFFFFF#000000##FFFFFF
##A04DBA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#9F5F7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a04dba;
/* rgb */ color: rgb(160, 77, 186);
/* oklch */ color: oklch(56.8% 0.178 317.4);
Tailwind
colors: {
  custom: {
    50: '#bf83cf',
    500: '#a04dba',
    950: '#000000',
  },
}
SCSS
$custom: #a04dba;
$custom-light: #bf83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a04dba",
  "rgb": {
    "r": 160,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 285.688,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.17803,
    "h": 317.4
  },
  "luminance": 0.16327
}

Semantic roles & 50–950 ramp

primary
#A04DBA
secondary
#A5C999
accent
#D45472
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A04DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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