#A474E8#A474E8

#A474E8 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.7% C 0.171 H 300.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A474E8
RGBrgb(164, 116, 232)
HSLhsl(265, 72%, 68%)
HSVhsv(265, 50%, 91%)
CMYKcmyk(29.3%, 50%, 0%, 9%)
CIE-LABlab(58.24, 42.18, -52.09)
CIE-LCHlch(58.24, 67.02, 309.00°)
OKLaboklab(65.74% 0.0878 -0.1466)
OKLCHoklch(65.74% 0.171 300.9)
XYZxyz(36.1174, 26.2093, 79.4844)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474E8 #B8E874
analogous
#747EE8 #A474E8 #DE74E8
triadic
#A474E8 #E8A474 #74E8A4
tetradic
#A474E8 #E8747E #B8E874 #74E8DE
square
#A474E8 #E8747E #B8E874 #74E8DE
split-complementary
#A474E8 #E8DE74 #7EE874
monochromatic
#6320C2 #823FDF #A474E8 #C6A9F1 #E9DDF9

Accessibility & contrast

On white

3.36
#A474E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A474E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474E8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474E8#FFFFFF#000000##000000
##A474E81.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEC
Deuteranopia (green-blind)
#5A8BE5
Tritanopia (blue-blind)
#978AA3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a474e8;
/* rgb */ color: rgb(164, 116, 232);
/* oklch */ color: oklch(65.7% 0.171 300.9);
Tailwind
colors: {
  custom: {
    50: '#c29df0',
    500: '#a474e8',
    950: '#000000',
  },
}
SCSS
$custom: #a474e8;
$custom-light: #c29df0;
$custom-dark: #000000;
JSON
{
  "hex": "#a474e8",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 264.828,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65739,
    "c": 0.17091,
    "h": 300.9
  },
  "luminance": 0.26209
}

Semantic roles & 50–950 ramp

primary
#A474E8
secondary
#DFEDCA
accent
#D41283
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A474E8

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

Preview Lab → · Contrast checker → · Palette generator →

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