#A04EF5#A04EF5

#A04EF5 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.8% C 0.237 H 302.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A04EF5
RGBrgb(160, 78, 245)
HSLhsl(269, 89%, 63%)
HSVhsv(269, 68%, 96%)
CMYKcmyk(34.7%, 68.2%, 0%, 3.9%)
CIE-LABlab(51.28, 63.87, -70.54)
CIE-LCHlch(51.28, 95.16, 312.16°)
OKLaboklab(60.82% 0.1267 -0.2008)
OKLCHoklch(60.82% 0.237 302.2)
XYZxyz(33.6991, 19.5148, 88.3599)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04EF5 #A3F54E
analogous
#4E4FF5 #A04EF5 #F34EF5
triadic
#A04EF5 #F5A04E #4EF5A0
tetradic
#A04EF5 #F54E4F #A3F54E #4EF5F3
square
#A04EF5 #F54E4F #A3F54E #4EF5F3
split-complementary
#A04EF5 #F5F34E #4FF54E
monochromatic
#630BBE #8114F2 #A04EF5 #BF88F8 #DEC2FC

Accessibility & contrast

On white

4.28
#A04EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A04EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04EF5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04EF5#FFFFFF#000000##000000
##A04EF51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#8E759C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a04ef5;
/* rgb */ color: rgb(160, 78, 245);
/* oklch */ color: oklch(60.8% 0.237 302.2);
Tailwind
colors: {
  custom: {
    50: '#c285f9',
    500: '#a04ef5',
    950: '#000000',
  },
}
SCSS
$custom: #a04ef5;
$custom-light: #c285f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ef5",
  "rgb": {
    "r": 160,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 269.461,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.23743,
    "h": 302.2
  },
  "luminance": 0.19515
}

Semantic roles & 50–950 ramp

primary
#A04EF5
secondary
#D0EDB2
accent
#E60075
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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