#A474FD#A474FD

#A474FD is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.0% C 0.197 H 296.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A474FD
RGBrgb(164, 116, 253)
HSLhsl(261, 97%, 72%)
HSVhsv(261, 54%, 99%)
CMYKcmyk(35.2%, 54.2%, 0%, 0.8%)
CIE-LABlab(59.41, 47.39, -61.85)
CIE-LCHlch(59.41, 77.92, 307.46°)
OKLaboklab(66.99% 0.089 -0.1752)
OKLCHoklch(66.99% 0.197 296.9)
XYZxyz(39.2804, 27.4746, 96.1431)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474FD #CDFD74
analogous
#7489FD #A474FD #E974FD
triadic
#A474FD #FDA474 #74FDA4
tetradic
#A474FD #FD7489 #CDFD74 #74FDE9
square
#A474FD #FD7489 #CDFD74 #74FDE9
split-complementary
#A474FD #FDE974 #89FD74
monochromatic
#5703F3 #7D38FC #A474FD #CBB0FE #EBE1FF

Accessibility & contrast

On white

3.23
#A474FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#A474FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474FD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474FD#FFFFFF#000000##000000
##A474FD1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#478DFA
Tritanopia (blue-blind)
#9090AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a474fd;
/* rgb */ color: rgb(164, 116, 253);
/* oklch */ color: oklch(67.0% 0.197 296.9);
Tailwind
colors: {
  custom: {
    50: '#c39dff',
    500: '#a474fd',
    950: '#000000',
  },
}
SCSS
$custom: #a474fd;
$custom-light: #c39dff;
$custom-dark: #000000;
JSON
{
  "hex": "#a474fd",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 261.022,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6699,
    "c": 0.19655,
    "h": 296.9
  },
  "luminance": 0.27475
}

Semantic roles & 50–950 ramp

primary
#A474FD
secondary
#EBF7D4
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A474FD

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

Preview Lab → · Contrast checker → · Palette generator →

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