#A474F6#A474F6

#A474F6 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.188 H 298.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A474F6
RGBrgb(164, 116, 246)
HSLhsl(262, 88%, 71%)
HSVhsv(262, 53%, 96%)
CMYKcmyk(33.3%, 52.8%, 0%, 3.5%)
CIE-LABlab(59.01, 45.63, -58.63)
CIE-LCHlch(59.01, 74.30, 307.89°)
OKLaboklab(66.56% 0.0888 -0.1658)
OKLCHoklch(66.56% 0.188 298.2)
XYZxyz(38.1857, 27.0367, 90.3777)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474F6 #C6F674
analogous
#7485F6 #A474F6 #E574F6
triadic
#A474F6 #F6A474 #74F6A4
tetradic
#A474F6 #F67485 #C6F674 #74F6E5
square
#A474F6 #F67485 #C6F674 #74F6E5
split-complementary
#A474F6 #F6E574 #85F674
monochromatic
#5C0FE1 #7E3BF2 #A474F6 #CAADFA #ECE2FD

Accessibility & contrast

On white

3.28
#A474F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A474F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474F6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474F6#FFFFFF#000000##000000
##A474F61.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EFA
Deuteranopia (green-blind)
#4E8DF3
Tritanopia (blue-blind)
#928EAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a474f6;
/* rgb */ color: rgb(164, 116, 246);
/* oklch */ color: oklch(66.6% 0.188 298.2);
Tailwind
colors: {
  custom: {
    50: '#c39dfa',
    500: '#a474f6',
    950: '#000000',
  },
}
SCSS
$custom: #a474f6;
$custom-light: #c39dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a474f6",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 262.154,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66562,
    "c": 0.18805,
    "h": 298.2
  },
  "luminance": 0.27037
}

Semantic roles & 50–950 ramp

primary
#A474F6
secondary
#E7F4D2
accent
#E40190
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474F6

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

Preview Lab → · Contrast checker → · Palette generator →

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