#A472EB#A472EB

#A472EB is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.178 H 300.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A472EB
RGBrgb(164, 114, 235)
HSLhsl(265, 75%, 68%)
HSVhsv(265, 51%, 92%)
CMYKcmyk(30.2%, 51.5%, 0%, 7.8%)
CIE-LABlab(57.97, 44.01, -54.19)
CIE-LCHlch(57.97, 69.81, 309.08°)
OKLaboklab(65.59% 0.0906 -0.1528)
OKLCHoklch(65.59% 0.178 300.7)
XYZxyz(36.3191, 25.9251, 81.6718)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A472EB #B9EB72
analogous
#727CEB #A472EB #E072EB
triadic
#A472EB #EBA472 #72EBA4
tetradic
#A472EB #EB727C #B9EB72 #72EBE0
square
#A472EB #EB727C #B9EB72 #72EBE0
split-complementary
#A472EB #EBE072 #7CEB72
monochromatic
#631CC6 #813CE3 #A472EB #C7A8F3 #E9DDFA

Accessibility & contrast

On white

3.40
#A472EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A472EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A472EB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A472EB#FFFFFF#000000##000000
##A472EB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#558BE8
Tritanopia (blue-blind)
#9689A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a472eb;
/* rgb */ color: rgb(164, 114, 235);
/* oklch */ color: oklch(65.6% 0.178 300.7);
Tailwind
colors: {
  custom: {
    50: '#c29cf2',
    500: '#a472eb',
    950: '#000000',
  },
}
SCSS
$custom: #a472eb;
$custom-light: #c29cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a472eb",
  "rgb": {
    "r": 164,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 264.793,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65591,
    "c": 0.17763,
    "h": 300.7
  },
  "luminance": 0.25925
}

Semantic roles & 50–950 ramp

primary
#A472EB
secondary
#E0EFCA
accent
#D70E84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A472EB

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

Preview Lab → · Contrast checker → · Palette generator →

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