#A472FB#A472FB

#A472FB is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.197 H 297.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A472FB
RGBrgb(164, 114, 251)
HSLhsl(262, 94%, 72%)
HSVhsv(262, 55%, 98%)
CMYKcmyk(34.7%, 54.6%, 0%, 1.6%)
CIE-LABlab(58.87, 47.97, -61.61)
CIE-LCHlch(58.87, 78.09, 307.90°)
OKLaboklab(66.56% 0.0914 -0.1745)
OKLCHoklch(66.56% 0.197 297.6)
XYZxyz(38.7354, 26.8917, 94.3979)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A472FB #C9FB72
analogous
#7285FB #A472FB #E972FB
triadic
#A472FB #FBA472 #72FBA4
tetradic
#A472FB #FB7285 #C9FB72 #72FBE9
square
#A472FB #FB7285 #C9FB72 #72FBE9
split-complementary
#A472FB #FBE972 #85FB72
monochromatic
#5A07EC #7E36F9 #A472FB #CAAEFD #ECE1FE

Accessibility & contrast

On white

3.29
#A472FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A472FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A472FB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A472FB#FFFFFF#000000##000000
##A472FB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#908EAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a472fb;
/* rgb */ color: rgb(164, 114, 251);
/* oklch */ color: oklch(66.6% 0.197 297.6);
Tailwind
colors: {
  custom: {
    50: '#c39cfd',
    500: '#a472fb',
    950: '#000000',
  },
}
SCSS
$custom: #a472fb;
$custom-light: #c39cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a472fb",
  "rgb": {
    "r": 164,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 261.898,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66556,
    "c": 0.197,
    "h": 297.6
  },
  "luminance": 0.26892
}

Semantic roles & 50–950 ramp

primary
#A472FB
secondary
#E9F6D3
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A472FB

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

Preview Lab → · Contrast checker → · Palette generator →

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