#A472DC#A472DC

#A472DC is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.7% C 0.159 H 304.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A472DC
RGBrgb(164, 114, 220)
HSLhsl(268, 60%, 65%)
HSVhsv(268, 48%, 86%)
CMYKcmyk(25.5%, 48.2%, 0%, 13.7%)
CIE-LABlab(57.17, 40.40, -47.07)
CIE-LCHlch(57.17, 62.03, 310.64°)
OKLaboklab(64.74% 0.0893 -0.132)
OKLCHoklch(64.74% 0.159 304.1)
XYZxyz(34.2426, 25.0946, 70.7360)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A472DC #AADC72
analogous
#7275DC #A472DC #D972DC
triadic
#A472DC #DCA472 #72DCA4
tetradic
#A472DC #DC7275 #AADC72 #72DCD9
square
#A472DC #DC7275 #AADC72 #72DCD9
split-complementary
#A472DC #DCD972 #75DC72
monochromatic
#662AAA #8441D0 #A472DC #C4A3E8 #E3D4F4

Accessibility & contrast

On white

3.49
#A472DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A472DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A472DC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A472DC#FFFFFF#000000##000000
##A472DC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#9A859D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a472dc;
/* rgb */ color: rgb(164, 114, 220);
/* oklch */ color: oklch(64.7% 0.159 304.1);
Tailwind
colors: {
  custom: {
    50: '#c19ce7',
    500: '#a472dc',
    950: '#000000',
  },
}
SCSS
$custom: #a472dc;
$custom-light: #c19ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#a472dc",
  "rgb": {
    "r": 164,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 268.302,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.15931,
    "h": 304.1
  },
  "luminance": 0.25094
}

Semantic roles & 50–950 ramp

primary
#A472DC
secondary
#D6E7C3
accent
#C81E78
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A472DC

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

Preview Lab → · Contrast checker → · Palette generator →

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