#A474FA#A474FA

#A474FA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.193 H 297.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A474FA
RGBrgb(164, 116, 250)
HSLhsl(261, 93%, 72%)
HSVhsv(261, 54%, 98%)
CMYKcmyk(34.4%, 53.6%, 0%, 2%)
CIE-LABlab(59.24, 46.63, -60.48)
CIE-LCHlch(59.24, 76.37, 307.63°)
OKLaboklab(66.81% 0.0889 -0.1712)
OKLCHoklch(66.81% 0.193 297.5)
XYZxyz(38.8063, 27.2849, 93.6459)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474FA #CAFA74
analogous
#7487FA #A474FA #E774FA
triadic
#A474FA #FAA474 #74FAA4
tetradic
#A474FA #FA7487 #CAFA74 #74FAE7
square
#A474FA #FA7487 #CAFA74 #74FAE7
split-complementary
#A474FA #FAE774 #87FA74
monochromatic
#5A08EB #7D39F8 #A474FA #CBAFFC #ECE1FE

Accessibility & contrast

On white

3.25
#A474FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A474FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474FA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474FA#FFFFFF#000000##000000
##A474FA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFF
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#918FAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a474fa;
/* rgb */ color: rgb(164, 116, 250);
/* oklch */ color: oklch(66.8% 0.193 297.5);
Tailwind
colors: {
  custom: {
    50: '#c39dfd',
    500: '#a474fa',
    950: '#000000',
  },
}
SCSS
$custom: #a474fa;
$custom-light: #c39dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a474fa",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 261.493,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66805,
    "c": 0.19291,
    "h": 297.5
  },
  "luminance": 0.27285
}

Semantic roles & 50–950 ramp

primary
#A474FA
secondary
#EAF6D4
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A474FA

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

Preview Lab → · Contrast checker → · Palette generator →

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