#A474E7#A474E7

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

Color values

HEX#A474E7
RGBrgb(164, 116, 231)
HSLhsl(265, 71%, 68%)
HSVhsv(265, 50%, 91%)
CMYKcmyk(29%, 49.8%, 0%, 9.4%)
CIE-LABlab(58.18, 41.93, -51.62)
CIE-LCHlch(58.18, 66.50, 309.09°)
OKLaboklab(65.68% 0.0877 -0.1452)
OKLCHoklch(65.68% 0.17 301.1)
XYZxyz(35.9757, 26.1527, 78.7385)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474E7 #B7E774
analogous
#747EE7 #A474E7 #DD74E7
triadic
#A474E7 #E7A474 #74E7A4
tetradic
#A474E7 #E7747E #B7E774 #74E7DD
square
#A474E7 #E7747E #B7E774 #74E7DD
split-complementary
#A474E7 #E7DD74 #7EE774
monochromatic
#6321C0 #8240DE #A474E7 #C6A8F0 #E8DCF9

Accessibility & contrast

On white

3.37
#A474E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A474E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474E7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474E7#FFFFFF#000000##000000
##A474E71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEB
Deuteranopia (green-blind)
#5B8BE4
Tritanopia (blue-blind)
#9789A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a474e7;
/* rgb */ color: rgb(164, 116, 231);
/* oklch */ color: oklch(65.7% 0.170 301.1);
Tailwind
colors: {
  custom: {
    50: '#c29def',
    500: '#a474e7',
    950: '#000000',
  },
}
SCSS
$custom: #a474e7;
$custom-light: #c29def;
$custom-dark: #000000;
JSON
{
  "hex": "#a474e7",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 265.043,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65681,
    "c": 0.16968,
    "h": 301.1
  },
  "luminance": 0.26153
}

Semantic roles & 50–950 ramp

primary
#A474E7
secondary
#DEEDCA
accent
#D31383
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A474E7

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

Preview Lab → · Contrast checker → · Palette generator →

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