#A04AF3#A04AF3

#A04AF3 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.2% C 0.240 H 303.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A04AF3
RGBrgb(160, 74, 243)
HSLhsl(271, 88%, 62%)
HSVhsv(271, 70%, 95%)
CMYKcmyk(34.2%, 69.5%, 0%, 4.7%)
CIE-LABlab(50.50, 65.20, -70.69)
CIE-LCHlch(50.50, 96.17, 312.69°)
OKLaboklab(60.22% 0.1309 -0.2012)
OKLCHoklch(60.22% 0.24 303)
XYZxyz(33.1199, 18.8422, 86.6687)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04AF3 #9DF34A
analogous
#4C4AF3 #A04AF3 #F34AF1
triadic
#A04AF3 #F3A04A #4AF3A0
tetradic
#A04AF3 #F34C4A #9DF34A #4AF1F3
square
#A04AF3 #F34C4A #9DF34A #4AF1F3
split-complementary
#A04AF3 #F1F34A #4AF34C
monochromatic
#630CB7 #8211EF #A04AF3 #BE83F7 #DCBDFB

Accessibility & contrast

On white

4.40
#A04AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A04AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04AF3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04AF3#FFFFFF#000000##000000
##A04AF31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#8F729A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a04af3;
/* rgb */ color: rgb(160, 74, 243);
/* oklch */ color: oklch(60.2% 0.240 303.0);
Tailwind
colors: {
  custom: {
    50: '#c283f8',
    500: '#a04af3',
    950: '#000000',
  },
}
SCSS
$custom: #a04af3;
$custom-light: #c283f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a04af3",
  "rgb": {
    "r": 160,
    "g": 74,
    "b": 243
  },
  "hsl": {
    "h": 270.533,
    "s": 87.565,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60223,
    "c": 0.24005,
    "h": 303
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#A04AF3
secondary
#CCEBAD
accent
#E40171
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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