#A04CB2#A04CB2

#A04CB2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.3% C 0.172 H 320.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A04CB2
RGBrgb(160, 76, 178)
HSLhsl(289, 40%, 50%)
HSVhsv(289, 57%, 70%)
CMYKcmyk(10.1%, 57.3%, 0%, 30.2%)
CIE-LABlab(46.79, 50.22, -39.44)
CIE-LCHlch(46.79, 63.86, 321.86°)
OKLaboklab(56.25% 0.1319 -0.1097)
OKLCHoklch(56.25% 0.172 320.3)
XYZxyz(25.1166, 15.8579, 43.8487)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CB2 #5EB24C
analogous
#6D4CB2 #A04CB2 #B24C91
triadic
#A04CB2 #B2A04C #4CB2A0
tetradic
#A04CB2 #B26D4C #5EB24C #4C91B2
square
#A04CB2 #B26D4C #5EB24C #4C91B2
split-complementary
#A04CB2 #91B24C #4CB26D
monochromatic
#53275C #793A87 #A04CB2 #B776C5 #CEA1D7

Accessibility & contrast

On white

5.03
#A04CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A04CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04CB2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CB2#FFFFFF#000000##FFFFFF
##A04CB21.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#A15B78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a04cb2;
/* rgb */ color: rgb(160, 76, 178);
/* oklch */ color: oklch(56.3% 0.172 320.3);
Tailwind
colors: {
  custom: {
    50: '#bf82c9',
    500: '#a04cb2',
    950: '#000000',
  },
}
SCSS
$custom: #a04cb2;
$custom-light: #bf82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a04cb2",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 289.412,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.17157,
    "h": 320.3
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#A04CB2
secondary
#9EC496
accent
#D0586D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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