#A474E5#A474E5

#A474E5 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.167 H 301.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A474E5
RGBrgb(164, 116, 229)
HSLhsl(265, 68%, 68%)
HSVhsv(265, 49%, 90%)
CMYKcmyk(28.4%, 49.3%, 0%, 10.2%)
CIE-LABlab(58.08, 41.45, -50.67)
CIE-LCHlch(58.08, 65.46, 309.28°)
OKLaboklab(65.57% 0.0875 -0.1425)
OKLCHoklch(65.57% 0.167 301.6)
XYZxyz(35.6949, 26.0404, 77.2593)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474E5 #B5E574
analogous
#747CE5 #A474E5 #DD74E5
triadic
#A474E5 #E5A474 #74E5A4
tetradic
#A474E5 #E5747C #B5E574 #74E5DD
square
#A474E5 #E5747C #B5E574 #74E5DD
split-complementary
#A474E5 #E5DD74 #7CE574
monochromatic
#6423BC #8240DB #A474E5 #C6A8EF #E8DBF8

Accessibility & contrast

On white

3.38
#A474E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A474E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474E5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474E5#FFFFFF#000000##000000
##A474E51.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE9
Deuteranopia (green-blind)
#5C8BE2
Tritanopia (blue-blind)
#9889A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a474e5;
/* rgb */ color: rgb(164, 116, 229);
/* oklch */ color: oklch(65.6% 0.167 301.6);
Tailwind
colors: {
  custom: {
    50: '#c29dee',
    500: '#a474e5',
    950: '#000000',
  },
}
SCSS
$custom: #a474e5;
$custom-light: #c29dee;
$custom-dark: #000000;
JSON
{
  "hex": "#a474e5",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 265.487,
    "s": 68.485,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65568,
    "c": 0.16722,
    "h": 301.6
  },
  "luminance": 0.2604
}

Semantic roles & 50–950 ramp

primary
#A474E5
secondary
#DDECC9
accent
#D01581
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A474E5

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

Preview Lab → · Contrast checker → · Palette generator →

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