#A04AFF#A04AFF

#A04AFF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 61.1% C 0.252 H 300.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A04AFF
RGBrgb(160, 74, 255)
HSLhsl(269, 100%, 65%)
HSVhsv(269, 71%, 100%)
CMYKcmyk(37.3%, 71%, 0%, 0%)
CIE-LABlab(51.37, 67.96, -75.97)
CIE-LCHlch(51.37, 101.93, 311.81°)
OKLaboklab(61.11% 0.1289 -0.2167)
OKLCHoklch(61.11% 0.252 300.7)
XYZxyz(34.9916, 19.5909, 96.5263)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04AFF #A9FF4A
analogous
#4A4FFF #A04AFF #FA4AFF
triadic
#A04AFF #FFA04A #4AFFA0
tetradic
#A04AFF #FF4A4F #A9FF4A #4AFFFA
square
#A04AFF #FF4A4F #A9FF4A #4AFFFA
split-complementary
#A04AFF #FFFA4A #4FFF4A
monochromatic
#6200CF #800DFF #A04AFF #C087FF #E0C4FF

Accessibility & contrast

On white

4.27
#A04AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A04AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04AFF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04AFF#FFFFFF#000000##000000
##A04AFF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#8B77A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a04aff;
/* rgb */ color: rgb(160, 74, 255);
/* oklch */ color: oklch(61.1% 0.252 300.7);
Tailwind
colors: {
  custom: {
    50: '#c383ff',
    500: '#a04aff',
    950: '#000000',
  },
}
SCSS
$custom: #a04aff;
$custom-light: #c383ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a04aff",
  "rgb": {
    "r": 160,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 268.508,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.25214,
    "h": 300.7
  },
  "luminance": 0.19591
}

Semantic roles & 50–950 ramp

primary
#A04AFF
secondary
#D4F2B3
accent
#E60078
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #A04AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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