#A471EC#A471EC

#A471EC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.180 H 300.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A471EC
RGBrgb(164, 113, 236)
HSLhsl(265, 76%, 68%)
HSVhsv(265, 52%, 93%)
CMYKcmyk(30.5%, 52.1%, 0%, 7.5%)
CIE-LABlab(57.81, 44.80, -55.00)
CIE-LCHlch(57.81, 70.94, 309.17°)
OKLaboklab(65.49% 0.092 -0.1551)
OKLCHoklch(65.49% 0.18 300.7)
XYZxyz(36.3517, 25.7587, 82.3974)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A471EC #B9EC71
analogous
#717BEC #A471EC #E171EC
triadic
#A471EC #ECA471 #71ECA4
tetradic
#A471EC #EC717B #B9EC71 #71ECE1
square
#A471EC #EC717B #B9EC71 #71ECE1
split-complementary
#A471EC #ECE171 #7BEC71
monochromatic
#631BC8 #813BE5 #A471EC #C7A7F3 #E9DDFA

Accessibility & contrast

On white

3.41
#A471EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A471EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A471EC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A471EC#FFFFFF#000000##000000
##A471EC1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#9689A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a471ec;
/* rgb */ color: rgb(164, 113, 236);
/* oklch */ color: oklch(65.5% 0.180 300.7);
Tailwind
colors: {
  custom: {
    50: '#c29bf3',
    500: '#a471ec',
    950: '#000000',
  },
}
SCSS
$custom: #a471ec;
$custom-light: #c29bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a471ec",
  "rgb": {
    "r": 164,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 264.878,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.18035,
    "h": 300.7
  },
  "luminance": 0.25759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A471EC

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

Preview Lab → · Contrast checker → · Palette generator →

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