#A472F8#A472F8

#A472F8 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.193 H 298.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A472F8
RGBrgb(164, 114, 248)
HSLhsl(262, 91%, 71%)
HSVhsv(262, 54%, 97%)
CMYKcmyk(33.9%, 54%, 0%, 2.7%)
CIE-LABlab(58.70, 47.22, -60.24)
CIE-LCHlch(58.70, 76.54, 308.09°)
OKLaboklab(66.37% 0.0913 -0.1705)
OKLCHoklch(66.37% 0.193 298.2)
XYZxyz(38.2663, 26.7040, 91.9271)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A472F8 #C6F872
analogous
#7283F8 #A472F8 #E772F8
triadic
#A472F8 #F8A472 #72F8A4
tetradic
#A472F8 #F87283 #C6F872 #72F8E7
square
#A472F8 #F87283 #C6F872 #72F8E7
split-complementary
#A472F8 #F8E772 #83F872
monochromatic
#5C0BE4 #7E38F5 #A472F8 #CAACFB #ECE2FE

Accessibility & contrast

On white

3.31
#A472F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A472F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A472F8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A472F8#FFFFFF#000000##000000
##A472F81.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFD
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#928DAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a472f8;
/* rgb */ color: rgb(164, 114, 248);
/* oklch */ color: oklch(66.4% 0.193 298.2);
Tailwind
colors: {
  custom: {
    50: '#c39cfb',
    500: '#a472f8',
    950: '#000000',
  },
}
SCSS
$custom: #a472f8;
$custom-light: #c39cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a472f8",
  "rgb": {
    "r": 164,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 262.388,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66371,
    "c": 0.19338,
    "h": 298.2
  },
  "luminance": 0.26704
}

Semantic roles & 50–950 ramp

primary
#A472F8
secondary
#E7F5D1
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A472F8

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

Preview Lab → · Contrast checker → · Palette generator →

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