#A474F5#A474F5

#A474F5 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.187 H 298.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A474F5
RGBrgb(164, 116, 245)
HSLhsl(262, 87%, 71%)
HSVhsv(262, 53%, 96%)
CMYKcmyk(33.1%, 52.7%, 0%, 3.9%)
CIE-LABlab(58.95, 45.38, -58.17)
CIE-LCHlch(58.95, 73.78, 307.96°)
OKLaboklab(66.5% 0.0887 -0.1644)
OKLCHoklch(66.5% 0.187 298.3)
XYZxyz(38.0326, 26.9755, 89.5715)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474F5 #C5F574
analogous
#7484F5 #A474F5 #E574F5
triadic
#A474F5 #F5A474 #74F5A4
tetradic
#A474F5 #F57484 #C5F574 #74F5E5
square
#A474F5 #F57484 #C5F574 #74F5E5
split-complementary
#A474F5 #F5E574 #84F574
monochromatic
#5D10DF #7F3BF1 #A474F5 #C9ADF9 #ECE2FD

Accessibility & contrast

On white

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

On black

6.40
#A474F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474F5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474F5#FFFFFF#000000##000000
##A474F51.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#4F8DF2
Tritanopia (blue-blind)
#928DAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a474f5;
/* rgb */ color: rgb(164, 116, 245);
/* oklch */ color: oklch(66.5% 0.187 298.3);
Tailwind
colors: {
  custom: {
    50: '#c39df9',
    500: '#a474f5',
    950: '#000000',
  },
}
SCSS
$custom: #a474f5;
$custom-light: #c39df9;
$custom-dark: #000000;
JSON
{
  "hex": "#a474f5",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 262.326,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66502,
    "c": 0.18682,
    "h": 298.3
  },
  "luminance": 0.26976
}

Semantic roles & 50–950 ramp

primary
#A474F5
secondary
#E7F4D1
accent
#E3028F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474F5

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

Preview Lab → · Contrast checker → · Palette generator →

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