#A04FE1#A04FE1

#A04FE1 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.215 H 306.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A04FE1
RGBrgb(160, 79, 225)
HSLhsl(273, 71%, 60%)
HSVhsv(273, 65%, 88%)
CMYKcmyk(28.9%, 64.9%, 0%, 11.8%)
CIE-LABlab(50.10, 58.82, -61.21)
CIE-LCHlch(50.10, 84.89, 313.86°)
OKLaboklab(59.55% 0.1279 -0.1734)
OKLCHoklch(59.55% 0.215 306.4)
XYZxyz(30.8809, 18.5021, 73.1640)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FE1 #90E14F
analogous
#574FE1 #A04FE1 #E14FD9
triadic
#A04FE1 #E1A04F #4FE1A0
tetradic
#A04FE1 #E1574F #90E14F #4FD9E1
square
#A04FE1 #E1574F #90E14F #4FD9E1
split-complementary
#A04FE1 #D9E14F #4FE157
monochromatic
#621A9B #8323CF #A04FE1 #BC83EA #D8B8F3

Accessibility & contrast

On white

4.47
#A04FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A04FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FE1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FE1#FFFFFF#000000##000000
##A04FE11.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#956E91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a04fe1;
/* rgb */ color: rgb(160, 79, 225);
/* oklch */ color: oklch(59.5% 0.215 306.4);
Tailwind
colors: {
  custom: {
    50: '#c185eb',
    500: '#a04fe1',
    950: '#000000',
  },
}
SCSS
$custom: #a04fe1;
$custom-light: #c185eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fe1",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 273.288,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.21544,
    "h": 306.4
  },
  "luminance": 0.18502
}

Semantic roles & 50–950 ramp

primary
#A04FE1
secondary
#C3E2AA
accent
#EE3A8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A04FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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