#A474F4#A474F4

#A474F4 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.186 H 298.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A474F4
RGBrgb(164, 116, 244)
HSLhsl(263, 85%, 71%)
HSVhsv(263, 52%, 96%)
CMYKcmyk(32.8%, 52.5%, 0%, 4.3%)
CIE-LABlab(58.90, 45.13, -57.71)
CIE-LCHlch(58.90, 73.26, 308.03°)
OKLaboklab(66.44% 0.0887 -0.1631)
OKLCHoklch(66.44% 0.186 298.5)
XYZxyz(37.8804, 26.9146, 88.7697)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474F4 #C4F474
analogous
#7484F4 #A474F4 #E474F4
triadic
#A474F4 #F4A474 #74F4A4
tetradic
#A474F4 #F47484 #C4F474 #74F4E4
square
#A474F4 #F47484 #C4F474 #74F4E4
split-complementary
#A474F4 #F4E474 #84F474
monochromatic
#5D11DC #7F3BF0 #A474F4 #C9ADF8 #ECE3FD

Accessibility & contrast

On white

3.29
#A474F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A474F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474F4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474F4#FFFFFF#000000##000000
##A474F41.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF8
Deuteranopia (green-blind)
#508DF1
Tritanopia (blue-blind)
#938DA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a474f4;
/* rgb */ color: rgb(164, 116, 244);
/* oklch */ color: oklch(66.4% 0.186 298.5);
Tailwind
colors: {
  custom: {
    50: '#c39df8',
    500: '#a474f4',
    950: '#000000',
  },
}
SCSS
$custom: #a474f4;
$custom-light: #c39df8;
$custom-dark: #000000;
JSON
{
  "hex": "#a474f4",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 262.5,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66442,
    "c": 0.18561,
    "h": 298.5
  },
  "luminance": 0.26915
}

Semantic roles & 50–950 ramp

primary
#A474F4
secondary
#E6F3D1
accent
#E2048F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474F4

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

Preview Lab → · Contrast checker → · Palette generator →

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