#A04FC2#A04FC2

#A04FC2 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.183 H 314.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A04FC2
RGBrgb(160, 79, 194)
HSLhsl(282, 49%, 54%)
HSVhsv(282, 59%, 76%)
CMYKcmyk(17.5%, 59.3%, 0%, 23.9%)
CIE-LABlab(48.21, 52.03, -46.50)
CIE-LCHlch(48.21, 69.78, 318.21°)
OKLaboklab(57.58% 0.1288 -0.1302)
OKLCHoklch(57.58% 0.183 314.7)
XYZxyz(27.0292, 16.9614, 52.8785)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FC2 #71C24F
analogous
#664FC2 #A04FC2 #C24FAA
triadic
#A04FC2 #C2A04F #4FC2A0
tetradic
#A04FC2 #C2664F #71C24F #4FAAC2
square
#A04FC2 #C2664F #71C24F #4FAAC2
split-complementary
#A04FC2 #AAC24F #4FC266
monochromatic
#5A2770 #7F379D #A04FC2 #B97CD2 #D1AAE2

Accessibility & contrast

On white

4.78
#A04FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A04FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04FC2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FC2#FFFFFF#000000##FFFFFF
##A04FC21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#4D75BF
Tritanopia (blue-blind)
#9D6381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a04fc2;
/* rgb */ color: rgb(160, 79, 194);
/* oklch */ color: oklch(57.6% 0.183 314.7);
Tailwind
colors: {
  custom: {
    50: '#bf84d5',
    500: '#a04fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a04fc2;
$custom-light: #bf84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fc2",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 282.261,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.18319,
    "h": 314.7
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#A04FC2
secondary
#ACCF9E
accent
#D85078
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #A04FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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