#A474F8#A474F8

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

Color values

HEX#A474F8
RGBrgb(164, 116, 248)
HSLhsl(262, 90%, 71%)
HSVhsv(262, 53%, 97%)
CMYKcmyk(33.9%, 53.2%, 0%, 2.7%)
CIE-LABlab(59.12, 46.13, -59.56)
CIE-LCHlch(59.12, 75.33, 307.76°)
OKLaboklab(66.68% 0.0889 -0.1685)
OKLCHoklch(66.68% 0.19 297.8)
XYZxyz(38.4943, 27.1601, 92.0031)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474F8 #C8F874
analogous
#7486F8 #A474F8 #E674F8
triadic
#A474F8 #F8A474 #74F8A4
tetradic
#A474F8 #F87486 #C8F874 #74F8E6
square
#A474F8 #F87486 #C8F874 #74F8E6
split-complementary
#A474F8 #F8E674 #86F874
monochromatic
#5B0CE6 #7E3AF5 #A474F8 #CAAEFB #ECE2FE

Accessibility & contrast

On white

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

On black

6.43
#A474F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474F8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474F8#FFFFFF#000000##000000
##A474F81.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8FFC
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#918EAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a474f8;
/* rgb */ color: rgb(164, 116, 248);
/* oklch */ color: oklch(66.7% 0.190 297.8);
Tailwind
colors: {
  custom: {
    50: '#c39dfb',
    500: '#a474f8',
    950: '#000000',
  },
}
SCSS
$custom: #a474f8;
$custom-light: #c39dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a474f8",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 261.818,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66683,
    "c": 0.19048,
    "h": 297.8
  },
  "luminance": 0.27161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A474F8

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

Preview Lab → · Contrast checker → · Palette generator →

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