#A04FBB#A04FBB

#A04FBB is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.2% C 0.176 H 316.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A04FBB
RGBrgb(160, 79, 187)
HSLhsl(285, 44%, 52%)
HSVhsv(285, 58%, 73%)
CMYKcmyk(14.4%, 57.8%, 0%, 26.7%)
CIE-LABlab(47.82, 50.57, -43.06)
CIE-LCHlch(47.82, 66.41, 319.59°)
OKLaboklab(57.17% 0.1286 -0.1202)
OKLCHoklch(57.17% 0.176 316.9)
XYZxyz(26.2615, 16.6544, 48.8353)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FBB #6ABB4F
analogous
#6A4FBB #A04FBB #BB4FA0
triadic
#A04FBB #BBA04F #4FBBA0
tetradic
#A04FBB #BB6A4F #6ABB4F #4FA0BB
square
#A04FBB #BB6A4F #6ABB4F #4FA0BB
split-complementary
#A04FBB #A0BB4F #4FBB6A
monochromatic
#582868 #7D3994 #A04FBB #B87BCC #D0A7DD

Accessibility & contrast

On white

4.85
#A04FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A04FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FBB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FBB#FFFFFF#000000##FFFFFF
##A04FBB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#9F617D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a04fbb;
/* rgb */ color: rgb(160, 79, 187);
/* oklch */ color: oklch(57.2% 0.176 316.9);
Tailwind
colors: {
  custom: {
    50: '#bf84d0',
    500: '#a04fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a04fbb;
$custom-light: #bf84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fbb",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 285,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.17601,
    "h": 316.9
  },
  "luminance": 0.16653
}

Semantic roles & 50–950 ramp

primary
#A04FBB
secondary
#A7CA9B
accent
#D45474
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #A04FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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