#A04FE8#A04FE8

#A04FE8 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.223 H 304.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A04FE8
RGBrgb(160, 79, 232)
HSLhsl(272, 77%, 61%)
HSVhsv(272, 66%, 91%)
CMYKcmyk(31%, 65.9%, 0%, 9%)
CIE-LABlab(50.56, 60.41, -64.42)
CIE-LCHlch(50.56, 88.32, 313.16°)
OKLaboklab(60.02% 0.1272 -0.1828)
OKLCHoklch(60.02% 0.223 304.8)
XYZxyz(31.8554, 18.8919, 78.2966)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04FE8 #97E84F
analogous
#534FE8 #A04FE8 #E84FE3
triadic
#A04FE8 #E8A04F #4FE8A0
tetradic
#A04FE8 #E8534F #97E84F #4FE3E8
square
#A04FE8 #E8534F #97E84F #4FE3E8
split-complementary
#A04FE8 #E3E84F #4FE853
monochromatic
#6316A7 #831DDD #A04FE8 #BD85EF #DABBF6

Accessibility & contrast

On white

4.39
#A04FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A04FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04FE8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04FE8#FFFFFF#000000##000000
##A04FE81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#1D78E5
Tritanopia (blue-blind)
#937195
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a04fe8;
/* rgb */ color: rgb(160, 79, 232);
/* oklch */ color: oklch(60.0% 0.223 304.8);
Tailwind
colors: {
  custom: {
    50: '#c185f0',
    500: '#a04fe8',
    950: '#000000',
  },
}
SCSS
$custom: #a04fe8;
$custom-light: #c185f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a04fe8",
  "rgb": {
    "r": 160,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 271.765,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.22273,
    "h": 304.8
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#A04FE8
secondary
#C8E6AD
accent
#D90C6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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