#A474F9#A474F9

#A474F9 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.7% C 0.192 H 297.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A474F9
RGBrgb(164, 116, 249)
HSLhsl(262, 92%, 72%)
HSVhsv(262, 53%, 98%)
CMYKcmyk(34.1%, 53.4%, 0%, 2.4%)
CIE-LABlab(59.18, 46.38, -60.02)
CIE-LCHlch(59.18, 75.85, 307.70°)
OKLaboklab(66.74% 0.0889 -0.1698)
OKLCHoklch(66.74% 0.192 297.6)
XYZxyz(38.6499, 27.2224, 92.8223)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474F9 #C9F974
analogous
#7487F9 #A474F9 #E674F9
triadic
#A474F9 #F9A474 #74F9A4
tetradic
#A474F9 #F97487 #C9F974 #74F9E6
square
#A474F9 #F97487 #C9F974 #74F9E6
split-complementary
#A474F9 #F9E674 #87F974
monochromatic
#5A0AE9 #7E39F6 #A474F9 #CAAFFC #ECE2FE

Accessibility & contrast

On white

3.26
#A474F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A474F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474F9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474F9#FFFFFF#000000##000000
##A474F91.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFE
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#918FAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a474f9;
/* rgb */ color: rgb(164, 116, 249);
/* oklch */ color: oklch(66.7% 0.192 297.6);
Tailwind
colors: {
  custom: {
    50: '#c39dfc',
    500: '#a474f9',
    950: '#000000',
  },
}
SCSS
$custom: #a474f9;
$custom-light: #c39dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a474f9",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 261.654,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66744,
    "c": 0.1917,
    "h": 297.6
  },
  "luminance": 0.27223
}

Semantic roles & 50–950 ramp

primary
#A474F9
secondary
#E9F5D3
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474F9

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

Preview Lab → · Contrast checker → · Palette generator →

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