#A47AFE#A47AFE

#A47AFE is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.189 H 295.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A47AFE
RGBrgb(164, 122, 254)
HSLhsl(259, 99%, 74%)
HSVhsv(259, 52%, 100%)
CMYKcmyk(35.4%, 52%, 0%, 0.4%)
CIE-LABlab(60.75, 44.35, -60.26)
CIE-LCHlch(60.75, 74.82, 306.35°)
OKLaboklab(68% 0.0818 -0.1705)
OKLCHoklch(68% 0.189 295.6)
XYZxyz(40.1542, 28.9666, 97.2223)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A47AFE #D4FE7A
analogous
#7A92FE #A47AFE #E67AFE
triadic
#A47AFE #FEA47A #7AFEA4
tetradic
#A47AFE #FE7A92 #D4FE7A #7AFEE6
square
#A47AFE #FE7A92 #D4FE7A #7AFEE6
split-complementary
#A47AFE #FEE67A #92FE7A
monochromatic
#5102FC #7A3DFE #A47AFE #CEB7FE #EAE1FF

Accessibility & contrast

On white

3.09
#A47AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#A47AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A47AFE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A47AFE#FFFFFF#000000##000000
##A47AFE1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#8F94B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a47afe;
/* rgb */ color: rgb(164, 122, 254);
/* oklch */ color: oklch(68.0% 0.189 295.6);
Tailwind
colors: {
  custom: {
    50: '#c3a1ff',
    500: '#a47afe',
    950: '#000000',
  },
}
SCSS
$custom: #a47afe;
$custom-light: #c3a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a47afe",
  "rgb": {
    "r": 164,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 259.091,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68001,
    "c": 0.18914,
    "h": 295.6
  },
  "luminance": 0.28967
}

Semantic roles & 50–950 ramp

primary
#A47AFE
secondary
#ECF7D4
accent
#E6009C
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A47AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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