#A470F6#A470F6

#A470F6 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.194 H 298.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A470F6
RGBrgb(164, 112, 246)
HSLhsl(263, 88%, 70%)
HSVhsv(263, 54%, 96%)
CMYKcmyk(33.3%, 54.5%, 0%, 3.5%)
CIE-LABlab(58.16, 47.81, -59.99)
CIE-LCHlch(58.16, 76.71, 308.56°)
OKLaboklab(65.94% 0.0937 -0.1697)
OKLCHoklch(65.94% 0.194 298.9)
XYZxyz(37.7345, 26.1343, 90.2273)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A470F6 #C2F670
analogous
#707FF6 #A470F6 #E770F6
triadic
#A470F6 #F6A470 #70F6A4
tetradic
#A470F6 #F6707F #C2F670 #70F6E7
square
#A470F6 #F6707F #C2F670 #70F6E7
split-complementary
#A470F6 #F6E770 #7FF670
monochromatic
#5F0EDE #7F36F2 #A470F6 #C9AAFA #EDE2FD

Accessibility & contrast

On white

3.37
#A470F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A470F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A470F6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A470F6#FFFFFF#000000##000000
##A470F61.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFA
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#928BA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a470f6;
/* rgb */ color: rgb(164, 112, 246);
/* oklch */ color: oklch(65.9% 0.194 298.9);
Tailwind
colors: {
  custom: {
    50: '#c39bfa',
    500: '#a470f6',
    950: '#000000',
  },
}
SCSS
$custom: #a470f6;
$custom-light: #c39bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a470f6",
  "rgb": {
    "r": 164,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 263.284,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65939,
    "c": 0.19388,
    "h": 298.9
  },
  "luminance": 0.26135
}

Semantic roles & 50–950 ramp

primary
#A470F6
secondary
#E5F3CE
accent
#E5018C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A470F6

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

Preview Lab → · Contrast checker → · Palette generator →

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