#A474DF#A474DF

#A474DF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.2% C 0.160 H 302.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A474DF
RGBrgb(164, 116, 223)
HSLhsl(267, 63%, 66%)
HSVhsv(267, 48%, 87%)
CMYKcmyk(26.5%, 48%, 0%, 12.5%)
CIE-LABlab(57.76, 40.01, -47.81)
CIE-LCHlch(57.76, 62.34, 309.92°)
OKLaboklab(65.23% 0.0869 -0.1341)
OKLCHoklch(65.23% 0.16 302.9)
XYZxyz(34.8716, 25.7110, 72.9233)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474DF #AFDF74
analogous
#747ADF #A474DF #DA74DF
triadic
#A474DF #DFA474 #74DFA4
tetradic
#A474DF #DF747A #AFDF74 #74DFDA
square
#A474DF #DF747A #AFDF74 #74DFDA
split-complementary
#A474DF #DFDA74 #7ADF74
monochromatic
#6529B0 #8342D4 #A474DF #C5A6EA #E5D7F6

Accessibility & contrast

On white

3.42
#A474DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#A474DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474DF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474DF#FFFFFF#000000##000000
##A474DF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#618BDC
Tritanopia (blue-blind)
#99879F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a474df;
/* rgb */ color: rgb(164, 116, 223);
/* oklch */ color: oklch(65.2% 0.160 302.9);
Tailwind
colors: {
  custom: {
    50: '#c19de9',
    500: '#a474df',
    950: '#000000',
  },
}
SCSS
$custom: #a474df;
$custom-light: #c19de9;
$custom-dark: #000000;
JSON
{
  "hex": "#a474df",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 266.916,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65232,
    "c": 0.15982,
    "h": 302.9
  },
  "luminance": 0.25711
}

Semantic roles & 50–950 ramp

primary
#A474DF
secondary
#D9E9C6
accent
#CA1B7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A474DF

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

Preview Lab → · Contrast checker → · Palette generator →

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