#A474F7#A474F7

#A474F7 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.189 H 298.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A474F7
RGBrgb(164, 116, 247)
HSLhsl(262, 89%, 71%)
HSVhsv(262, 53%, 97%)
CMYKcmyk(33.6%, 53%, 0%, 3.1%)
CIE-LABlab(59.07, 45.88, -59.10)
CIE-LCHlch(59.07, 74.82, 307.82°)
OKLaboklab(66.62% 0.0888 -0.1671)
OKLCHoklch(66.62% 0.189 298)
XYZxyz(38.3396, 27.0982, 91.1882)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474F7 #C7F774
analogous
#7485F7 #A474F7 #E674F7
triadic
#A474F7 #F7A474 #74F7A4
tetradic
#A474F7 #F77485 #C7F774 #74F7E6
square
#A474F7 #F77485 #C7F774 #74F7E6
split-complementary
#A474F7 #F7E674 #85F774
monochromatic
#5C0DE4 #7E3AF4 #A474F7 #CAAEFA #ECE2FD

Accessibility & contrast

On white

3.27
#A474F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A474F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474F7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474F7#FFFFFF#000000##000000
##A474F71.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFB
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#928EAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a474f7;
/* rgb */ color: rgb(164, 116, 247);
/* oklch */ color: oklch(66.6% 0.189 298.0);
Tailwind
colors: {
  custom: {
    50: '#c39dfa',
    500: '#a474f7',
    950: '#000000',
  },
}
SCSS
$custom: #a474f7;
$custom-light: #c39dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a474f7",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 261.985,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66623,
    "c": 0.18927,
    "h": 298
  },
  "luminance": 0.27099
}

Semantic roles & 50–950 ramp

primary
#A474F7
secondary
#E8F5D2
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474F7

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

Preview Lab → · Contrast checker → · Palette generator →

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