#A04BAF#A04BAF

#A04BAF is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.0% C 0.170 H 321.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A04BAF
RGBrgb(160, 75, 175)
HSLhsl(291, 40%, 49%)
HSVhsv(291, 57%, 69%)
CMYKcmyk(8.6%, 57.1%, 0%, 31.4%)
CIE-LABlab(46.45, 50.12, -38.22)
CIE-LCHlch(46.45, 63.02, 322.67°)
OKLaboklab(55.95% 0.133 -0.1061)
OKLCHoklch(55.95% 0.17 321.4)
XYZxyz(24.7503, 15.6020, 42.2569)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04BAF #5AAF4B
analogous
#6E4BAF #A04BAF #AF4B8C
triadic
#A04BAF #AFA04B #4BAFA0
tetradic
#A04BAF #AF6E4B #5AAF4B #4B8CAF
square
#A04BAF #AF6E4B #5AAF4B #4B8CAF
split-complementary
#A04BAF #8CAF4B #4BAF6E
monochromatic
#522659 #793984 #A04BAF #B774C3 #CD9FD6

Accessibility & contrast

On white

5.10
#A04BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A04BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04BAF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04BAF#FFFFFF#000000##FFFFFF
##A04BAF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#A25A76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a04baf;
/* rgb */ color: rgb(160, 75, 175);
/* oklch */ color: oklch(56.0% 0.170 321.4);
Tailwind
colors: {
  custom: {
    50: '#bf82c7',
    500: '#a04baf',
    950: '#000000',
  },
}
SCSS
$custom: #a04baf;
$custom-light: #bf82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a04baf",
  "rgb": {
    "r": 160,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 291,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.17017,
    "h": 321.4
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#A04BAF
secondary
#9AC293
accent
#D0586A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A04BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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