#A04FE2#A04FE2

#A04FE2 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.216 H 306.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A04FE2
RGBrgb(160, 79, 226)
HSLhsl(273, 72%, 60%)
HSVhsv(273, 65%, 89%)
CMYKcmyk(29.2%, 65%, 0%, 11.4%)
CIE-LABlab(50.16, 59.05, -61.67)
CIE-LCHlch(50.16, 85.38, 313.75°)
OKLaboklab(59.61% 0.1278 -0.1747)
OKLCHoklch(59.61% 0.216 306.2)
XYZxyz(31.0177, 18.5568, 73.8845)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FE2 #91E24F
analogous
#574FE2 #A04FE2 #E24FDB
triadic
#A04FE2 #E2A04F #4FE2A0
tetradic
#A04FE2 #E2574F #91E24F #4FDBE2
square
#A04FE2 #E2574F #91E24F #4FDBE2
split-complementary
#A04FE2 #DBE24F #4FE257
monochromatic
#621A9D #8322D1 #A04FE2 #BC84EB #D9B8F3

Accessibility & contrast

On white

4.46
#A04FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A04FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FE2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FE2#FFFFFF#000000##000000
##A04FE21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2A78DF
Tritanopia (blue-blind)
#956F92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a04fe2;
/* rgb */ color: rgb(160, 79, 226);
/* oklch */ color: oklch(59.6% 0.216 306.2);
Tailwind
colors: {
  custom: {
    50: '#c185ec',
    500: '#a04fe2',
    950: '#000000',
  },
}
SCSS
$custom: #a04fe2;
$custom-light: #c185ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fe2",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 273.061,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.21648,
    "h": 306.2
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#A04FE2
secondary
#C4E3AA
accent
#EE398B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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