#A474F2#A474F2

#A474F2 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.183 H 298.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A474F2
RGBrgb(164, 116, 242)
HSLhsl(263, 83%, 70%)
HSVhsv(263, 52%, 95%)
CMYKcmyk(32.2%, 52.1%, 0%, 5.1%)
CIE-LABlab(58.78, 44.63, -56.78)
CIE-LCHlch(58.78, 72.22, 308.17°)
OKLaboklab(66.32% 0.0886 -0.1603)
OKLCHoklch(66.32% 0.183 298.9)
XYZxyz(37.5784, 26.7938, 87.1791)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474F2 #C2F274
analogous
#7483F2 #A474F2 #E374F2
triadic
#A474F2 #F2A474 #74F2A4
tetradic
#A474F2 #F27483 #C2F274 #74F2E3
square
#A474F2 #F27483 #C2F274 #74F2E3
split-complementary
#A474F2 #F2E374 #83F274
monochromatic
#5F14D7 #7F3CED #A474F2 #C9ACF7 #EDE3FC

Accessibility & contrast

On white

3.30
#A474F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A474F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474F2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474F2#FFFFFF#000000##000000
##A474F21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#948DA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a474f2;
/* rgb */ color: rgb(164, 116, 242);
/* oklch */ color: oklch(66.3% 0.183 298.9);
Tailwind
colors: {
  custom: {
    50: '#c29df7',
    500: '#a474f2',
    950: '#000000',
  },
}
SCSS
$custom: #a474f2;
$custom-light: #c29df7;
$custom-dark: #000000;
JSON
{
  "hex": "#a474f2",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 262.857,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66323,
    "c": 0.18317,
    "h": 298.9
  },
  "luminance": 0.26794
}

Semantic roles & 50–950 ramp

primary
#A474F2
secondary
#E5F2CF
accent
#DF068D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A474F2

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

Preview Lab → · Contrast checker → · Palette generator →

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