#A474EF#A474EF

#A474EF is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.1% C 0.179 H 299.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A474EF
RGBrgb(164, 116, 239)
HSLhsl(263, 79%, 70%)
HSVhsv(263, 51%, 94%)
CMYKcmyk(31.4%, 51.5%, 0%, 6.3%)
CIE-LABlab(58.62, 43.89, -55.38)
CIE-LCHlch(58.62, 70.66, 308.40°)
OKLaboklab(66.15% 0.0884 -0.1562)
OKLCHoklch(66.15% 0.179 299.5)
XYZxyz(37.1315, 26.6150, 84.8256)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474EF #BFEF74
analogous
#7481EF #A474EF #E274EF
triadic
#A474EF #EFA474 #74EFA4
tetradic
#A474EF #EF7481 #BFEF74 #74EFE2
square
#A474EF #EF7481 #BFEF74 #74EFE2
split-complementary
#A474EF #EFE274 #81EF74
monochromatic
#6018D1 #803DE9 #A474EF #C8ABF5 #ECE2FC

Accessibility & contrast

On white

3.32
#A474EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A474EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474EF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474EF#FFFFFF#000000##000000
##A474EF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#958CA7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a474ef;
/* rgb */ color: rgb(164, 116, 239);
/* oklch */ color: oklch(66.1% 0.179 299.5);
Tailwind
colors: {
  custom: {
    50: '#c29df5',
    500: '#a474ef',
    950: '#000000',
  },
}
SCSS
$custom: #a474ef;
$custom-light: #c29df5;
$custom-dark: #000000;
JSON
{
  "hex": "#a474ef",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 263.415,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66145,
    "c": 0.17949,
    "h": 299.5
  },
  "luminance": 0.26615
}

Semantic roles & 50–950 ramp

primary
#A474EF
secondary
#E3F1CE
accent
#DC0A8A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474EF

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

Preview Lab → · Contrast checker → · Palette generator →

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