#A474EC#A474EC

#A474EC is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.176 H 300.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A474EC
RGBrgb(164, 116, 236)
HSLhsl(264, 76%, 69%)
HSVhsv(264, 51%, 93%)
CMYKcmyk(30.5%, 50.8%, 0%, 7.5%)
CIE-LABlab(58.45, 43.15, -53.97)
CIE-LCHlch(58.45, 69.11, 308.64°)
OKLaboklab(65.97% 0.0881 -0.1521)
OKLCHoklch(65.97% 0.176 300.1)
XYZxyz(36.6920, 26.4392, 82.5108)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474EC #BCEC74
analogous
#7480EC #A474EC #E074EC
triadic
#A474EC #ECA474 #74ECA4
tetradic
#A474EC #EC7480 #BCEC74 #74ECE0
square
#A474EC #EC7480 #BCEC74 #74ECE0
split-complementary
#A474EC #ECE074 #80EC74
monochromatic
#611CCA #813EE5 #A474EC #C7AAF3 #EAE0FB

Accessibility & contrast

On white

3.34
#A474EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A474EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474EC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474EC#FFFFFF#000000##000000
##A474EC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#958BA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a474ec;
/* rgb */ color: rgb(164, 116, 236);
/* oklch */ color: oklch(66.0% 0.176 300.1);
Tailwind
colors: {
  custom: {
    50: '#c29df3',
    500: '#a474ec',
    950: '#000000',
  },
}
SCSS
$custom: #a474ec;
$custom-light: #c29df3;
$custom-dark: #000000;
JSON
{
  "hex": "#a474ec",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 264,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6597,
    "c": 0.17582,
    "h": 300.1
  },
  "luminance": 0.26439
}

Semantic roles & 50–950 ramp

primary
#A474EC
secondary
#E1EFCC
accent
#D80D87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474EC

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

Preview Lab → · Contrast checker → · Palette generator →

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