#A472EC#A472EC

#A472EC is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.179 H 300.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A472EC
RGBrgb(164, 114, 236)
HSLhsl(265, 76%, 69%)
HSVhsv(265, 52%, 93%)
CMYKcmyk(30.5%, 51.7%, 0%, 7.5%)
CIE-LABlab(58.02, 44.25, -54.66)
CIE-LCHlch(58.02, 70.33, 308.99°)
OKLaboklab(65.65% 0.0907 -0.1541)
OKLCHoklch(65.65% 0.179 300.5)
XYZxyz(36.4639, 25.9831, 82.4348)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A472EC #BAEC72
analogous
#727DEC #A472EC #E172EC
triadic
#A472EC #ECA472 #72ECA4
tetradic
#A472EC #EC727D #BAEC72 #72ECE1
square
#A472EC #EC727D #BAEC72 #72ECE1
split-complementary
#A472EC #ECE172 #7DEC72
monochromatic
#621BC9 #813CE5 #A472EC #C7A8F3 #EADEFB

Accessibility & contrast

On white

3.39
#A472EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#A472EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A472EC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A472EC#FFFFFF#000000##000000
##A472EC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#9689A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a472ec;
/* rgb */ color: rgb(164, 114, 236);
/* oklch */ color: oklch(65.6% 0.179 300.5);
Tailwind
colors: {
  custom: {
    50: '#c29cf3',
    500: '#a472ec',
    950: '#000000',
  },
}
SCSS
$custom: #a472ec;
$custom-light: #c29cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a472ec",
  "rgb": {
    "r": 164,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 264.59,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.17885,
    "h": 300.5
  },
  "luminance": 0.25983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A472EC

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

Preview Lab → · Contrast checker → · Palette generator →

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