#A04CBB#A04CBB

#A04CBB is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.181 H 317.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A04CBB
RGBrgb(160, 76, 187)
HSLhsl(285, 45%, 52%)
HSVhsv(285, 59%, 73%)
CMYKcmyk(14.4%, 59.4%, 0%, 26.7%)
CIE-LABlab(47.28, 52.04, -43.92)
CIE-LCHlch(47.28, 68.10, 319.84°)
OKLaboklab(56.77% 0.1324 -0.1227)
OKLCHoklch(56.77% 0.181 317.2)
XYZxyz(26.0500, 16.2313, 48.7648)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CBB #67BB4C
analogous
#694CBB #A04CBB #BB4C9F
triadic
#A04CBB #BBA04C #4CBBA0
tetradic
#A04CBB #BB694C #67BB4C #4C9FBB
square
#A04CBB #BB694C #67BB4C #4C9FBB
split-complementary
#A04CBB #9FBB4C #4CBB69
monochromatic
#572766 #7C3892 #A04CBB #B878CC #CFA5DD

Accessibility & contrast

On white

4.95
#A04CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A04CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04CBB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CBB#FFFFFF#000000##FFFFFF
##A04CBB1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#4F73B8
Tritanopia (blue-blind)
#9F5E7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a04cbb;
/* rgb */ color: rgb(160, 76, 187);
/* oklch */ color: oklch(56.8% 0.181 317.2);
Tailwind
colors: {
  custom: {
    50: '#bf82d0',
    500: '#a04cbb',
    950: '#000000',
  },
}
SCSS
$custom: #a04cbb;
$custom-light: #bf82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a04cbb",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 285.405,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.18053,
    "h": 317.2
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#A04CBB
secondary
#A5CA99
accent
#D55373
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A04CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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