#A04BB7#A04BB7

#A04BB7 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.4% C 0.178 H 318.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A04BB7
RGBrgb(160, 75, 183)
HSLhsl(287, 43%, 51%)
HSVhsv(287, 59%, 72%)
CMYKcmyk(12.6%, 59%, 0%, 28.2%)
CIE-LABlab(46.88, 51.71, -42.22)
CIE-LCHlch(46.88, 66.76, 320.77°)
OKLaboklab(56.4% 0.1335 -0.1178)
OKLCHoklch(56.4% 0.178 318.6)
XYZxyz(25.5594, 15.9257, 46.5182)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04BB7 #62B74B
analogous
#6A4BB7 #A04BB7 #B74B98
triadic
#A04BB7 #B7A04B #4BB7A0
tetradic
#A04BB7 #B76A4B #62B74B #4B98B7
square
#A04BB7 #B76A4B #62B74B #4B98B7
split-complementary
#A04BB7 #98B74B #4BB76A
monochromatic
#542761 #7B388D #A04BB7 #B777C8 #CEA2DA

Accessibility & contrast

On white

5.02
#A04BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A04BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04BB7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04BB7#FFFFFF#000000##FFFFFF
##A04BB71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169BA
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#A05C7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a04bb7;
/* rgb */ color: rgb(160, 75, 183);
/* oklch */ color: oklch(56.4% 0.178 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf82cd',
    500: '#a04bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a04bb7;
$custom-light: #bf82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a04bb7",
  "rgb": {
    "r": 160,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 287.222,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56404,
    "c": 0.17805,
    "h": 318.6
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#A04BB7
secondary
#A1C797
accent
#D35570
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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