#A04FE4#A04FE4

#A04FE4 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.219 H 305.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A04FE4
RGBrgb(160, 79, 228)
HSLhsl(273, 73%, 60%)
HSVhsv(273, 65%, 89%)
CMYKcmyk(29.8%, 65.4%, 0%, 10.6%)
CIE-LABlab(50.30, 59.50, -62.59)
CIE-LCHlch(50.30, 86.36, 313.55°)
OKLaboklab(59.75% 0.1276 -0.1774)
OKLCHoklch(59.75% 0.219 305.7)
XYZxyz(31.2937, 18.6672, 75.3383)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FE4 #93E44F
analogous
#554FE4 #A04FE4 #E44FDE
triadic
#A04FE4 #E4A04F #4FE4A0
tetradic
#A04FE4 #E4554F #93E44F #4FDEE4
square
#A04FE4 #E4554F #93E44F #4FDEE4
split-complementary
#A04FE4 #DEE44F #4FE455
monochromatic
#6219A0 #8321D5 #A04FE4 #BD84EC #D9B9F4

Accessibility & contrast

On white

4.44
#A04FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A04FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FE4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FE4#FFFFFF#000000##000000
##A04FE41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2678E1
Tritanopia (blue-blind)
#946F93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a04fe4;
/* rgb */ color: rgb(160, 79, 228);
/* oklch */ color: oklch(59.8% 0.219 305.7);
Tailwind
colors: {
  custom: {
    50: '#c185ed',
    500: '#a04fe4',
    950: '#000000',
  },
}
SCSS
$custom: #a04fe4;
$custom-light: #c185ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fe4",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 272.617,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.21856,
    "h": 305.7
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#A04FE4
secondary
#C5E4AB
accent
#D6106A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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