#A04FB2#A04FB2

#A04FB2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.7% C 0.167 H 320.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A04FB2
RGBrgb(160, 79, 178)
HSLhsl(289, 39%, 50%)
HSVhsv(289, 56%, 70%)
CMYKcmyk(10.1%, 55.6%, 0%, 30.2%)
CIE-LABlab(47.34, 48.73, -38.56)
CIE-LCHlch(47.34, 62.15, 321.64°)
OKLaboklab(56.66% 0.1279 -0.1071)
OKLCHoklch(56.66% 0.167 320.1)
XYZxyz(25.3281, 16.2810, 43.9192)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FB2 #61B24F
analogous
#6E4FB2 #A04FB2 #B24F92
triadic
#A04FB2 #B2A04F #4FB2A0
tetradic
#A04FB2 #B26E4F #61B24F #4F92B2
square
#A04FB2 #B26E4F #61B24F #4F92B2
split-complementary
#A04FB2 #92B24F #4FB26E
monochromatic
#54295E #7A3C88 #A04FB2 #B77AC5 #CEA4D7

Accessibility & contrast

On white

4.93
#A04FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A04FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FB2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FB2#FFFFFF#000000##FFFFFF
##A04FB21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#A15E79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a04fb2;
/* rgb */ color: rgb(160, 79, 178);
/* oklch */ color: oklch(56.7% 0.167 320.1);
Tailwind
colors: {
  custom: {
    50: '#be84c9',
    500: '#a04fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a04fb2;
$custom-light: #be84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fb2",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 289.091,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56657,
    "c": 0.16688,
    "h": 320.1
  },
  "luminance": 0.1628
}

Semantic roles & 50–950 ramp

primary
#A04FB2
secondary
#A0C498
accent
#CF596E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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