#A04FC8#A04FC8

#A04FC8 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.189 H 312.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A04FC8
RGBrgb(160, 79, 200)
HSLhsl(280, 52%, 55%)
HSVhsv(280, 61%, 78%)
CMYKcmyk(20%, 60.5%, 0%, 21.6%)
CIE-LABlab(48.56, 53.31, -49.41)
CIE-LCHlch(48.56, 72.68, 317.17°)
OKLaboklab(57.94% 0.1289 -0.1388)
OKLCHoklch(57.94% 0.189 312.9)
XYZxyz(27.7167, 17.2364, 56.4993)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FC8 #77C84F
analogous
#634FC8 #A04FC8 #C84FB4
triadic
#A04FC8 #C8A04F #4FC8A0
tetradic
#A04FC8 #C8634F #77C84F #4FB4C8
square
#A04FC8 #C8634F #77C84F #4FB4C8
split-complementary
#A04FC8 #B4C84F #4FC863
monochromatic
#5C2577 #8034A6 #A04FC8 #B97ED7 #D2ACE5

Accessibility & contrast

On white

4.72
#A04FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A04FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FC8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FC8#FFFFFF#000000##FFFFFF
##A04FC81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#9C6584
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04fc8;
/* rgb */ color: rgb(160, 79, 200);
/* oklch */ color: oklch(57.9% 0.189 312.9);
Tailwind
colors: {
  custom: {
    50: '#bf85d9',
    500: '#a04fc8',
    950: '#000000',
  },
}
SCSS
$custom: #a04fc8;
$custom-light: #bf85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fc8",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 280.165,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.1894,
    "h": 312.9
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#A04FC8
secondary
#B1D3A0
accent
#DC4C7C
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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