#A476EF#A476EF

#A476EF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.176 H 299.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A476EF
RGBrgb(164, 118, 239)
HSLhsl(263, 79%, 70%)
HSVhsv(263, 51%, 94%)
CMYKcmyk(31.4%, 50.6%, 0%, 6.3%)
CIE-LABlab(59.05, 42.79, -54.69)
CIE-LCHlch(59.05, 69.44, 308.04°)
OKLaboklab(66.47% 0.0858 -0.1542)
OKLCHoklch(66.47% 0.176 299.1)
XYZxyz(37.3645, 27.0811, 84.9033)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A476EF #C1EF76
analogous
#7684EF #A476EF #E176EF
triadic
#A476EF #EFA476 #76EFA4
tetradic
#A476EF #EF7684 #C1EF76 #76EFE1
square
#A476EF #EF7684 #C1EF76 #76EFE1
split-complementary
#A476EF #EFE176 #84EF76
monochromatic
#5F19D2 #803FE9 #A476EF #C8ADF5 #EDE4FC

Accessibility & contrast

On white

3.27
#A476EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A476EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A476EF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A476EF#FFFFFF#000000##000000
##A476EF1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#578DEC
Tritanopia (blue-blind)
#948DA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a476ef;
/* rgb */ color: rgb(164, 118, 239);
/* oklch */ color: oklch(66.5% 0.176 299.1);
Tailwind
colors: {
  custom: {
    50: '#c29ef5',
    500: '#a476ef',
    950: '#000000',
  },
}
SCSS
$custom: #a476ef;
$custom-light: #c29ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#a476ef",
  "rgb": {
    "r": 164,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 262.81,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.66467,
    "c": 0.17649,
    "h": 299.1
  },
  "luminance": 0.27081
}

Semantic roles & 50–950 ramp

primary
#A476EF
secondary
#E4F1CF
accent
#DB0A8C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A476EF

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

Preview Lab → · Contrast checker → · Palette generator →

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