#A474EA#A474EA

#A474EA is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.173 H 300.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A474EA
RGBrgb(164, 116, 234)
HSLhsl(264, 74%, 69%)
HSVhsv(264, 50%, 92%)
CMYKcmyk(29.9%, 50.4%, 0%, 8.2%)
CIE-LABlab(58.34, 42.66, -53.03)
CIE-LCHlch(58.34, 68.07, 308.82°)
OKLaboklab(65.85% 0.088 -0.1494)
OKLCHoklch(65.85% 0.173 300.5)
XYZxyz(36.4030, 26.3236, 80.9891)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474EA #BAEA74
analogous
#747FEA #A474EA #DF74EA
triadic
#A474EA #EAA474 #74EAA4
tetradic
#A474EA #EA747F #BAEA74 #74EADF
square
#A474EA #EA747F #BAEA74 #74EADF
split-complementary
#A474EA #EADF74 #7FEA74
monochromatic
#621EC6 #813FE2 #A474EA #C7A9F2 #EADEFA

Accessibility & contrast

On white

3.35
#A474EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#A474EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474EA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474EA#FFFFFF#000000##000000
##A474EA1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEE
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#968AA4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a474ea;
/* rgb */ color: rgb(164, 116, 234);
/* oklch */ color: oklch(65.9% 0.173 300.5);
Tailwind
colors: {
  custom: {
    50: '#c29df1',
    500: '#a474ea',
    950: '#000000',
  },
}
SCSS
$custom: #a474ea;
$custom-light: #c29df1;
$custom-dark: #000000;
JSON
{
  "hex": "#a474ea",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 264.407,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65854,
    "c": 0.17337,
    "h": 300.5
  },
  "luminance": 0.26324
}

Semantic roles & 50–950 ramp

primary
#A474EA
secondary
#E0EFCB
accent
#D61085
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474EA

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

Preview Lab → · Contrast checker → · Palette generator →

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