#A04FEE#A04FEE

#A04FEE is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.229 H 303.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A04FEE
RGBrgb(160, 79, 238)
HSLhsl(271, 82%, 62%)
HSVhsv(271, 67%, 93%)
CMYKcmyk(32.8%, 66.8%, 0%, 6.7%)
CIE-LABlab(50.97, 61.79, -67.14)
CIE-LCHlch(50.97, 91.25, 312.62°)
OKLaboklab(60.44% 0.1266 -0.1908)
OKLCHoklch(60.44% 0.229 303.6)
XYZxyz(32.7223, 19.2386, 82.8619)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FEE #9DEE4F
analogous
#514FEE #A04FEE #EE4FEC
triadic
#A04FEE #EEA04F #4FEEA0
tetradic
#A04FEE #EE514F #9DEE4F #4FECEE
square
#A04FEE #EE514F #9DEE4F #4FECEE
split-complementary
#A04FEE #ECEE4F #4FEE51
monochromatic
#6311B1 #8217E9 #A04FEE #BE87F3 #DCBFF9

Accessibility & contrast

On white

4.33
#A04FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A04FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FEE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FEE#FFFFFF#000000##000000
##A04FEE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0579EB
Tritanopia (blue-blind)
#917398
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a04fee;
/* rgb */ color: rgb(160, 79, 238);
/* oklch */ color: oklch(60.4% 0.229 303.6);
Tailwind
colors: {
  custom: {
    50: '#c186f4',
    500: '#a04fee',
    950: '#000000',
  },
}
SCSS
$custom: #a04fee;
$custom-light: #c186f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fee",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 238
  },
  "hsl": {
    "h": 270.566,
    "s": 82.383,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60444,
    "c": 0.22897,
    "h": 303.6
  },
  "luminance": 0.19239
}

Semantic roles & 50–950 ramp

primary
#A04FEE
secondary
#CCEAAF
accent
#DF0771
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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