#A470E6#A470E6

#A470E6 is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.0% C 0.175 H 302.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A470E6
RGBrgb(164, 112, 230)
HSLhsl(266, 70%, 67%)
HSVhsv(266, 51%, 90%)
CMYKcmyk(28.7%, 51.3%, 0%, 9.8%)
CIE-LABlab(57.26, 43.89, -52.52)
CIE-LCHlch(57.26, 68.45, 309.89°)
OKLaboklab(64.98% 0.0929 -0.1479)
OKLCHoklch(64.98% 0.175 302.1)
XYZxyz(35.3837, 25.1940, 77.8464)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A470E6 #B2E670
analogous
#7077E6 #A470E6 #DF70E6
triadic
#A470E6 #E6A470 #70E6A4
tetradic
#A470E6 #E67077 #B2E670 #70E6DF
square
#A470E6 #E67077 #B2E670 #70E6DF
split-complementary
#A470E6 #E6DF70 #77E670
monochromatic
#6521BB #833CDD #A470E6 #C5A4EF #E6D8F8

Accessibility & contrast

On white

3.48
#A470E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A470E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A470E6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A470E6#FFFFFF#000000##000000
##A470E61.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EA
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#9886A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a470e6;
/* rgb */ color: rgb(164, 112, 230);
/* oklch */ color: oklch(65.0% 0.175 302.1);
Tailwind
colors: {
  custom: {
    50: '#c29aee',
    500: '#a470e6',
    950: '#000000',
  },
}
SCSS
$custom: #a470e6;
$custom-light: #c29aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a470e6",
  "rgb": {
    "r": 164,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 266.441,
    "s": 70.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64982,
    "c": 0.17461,
    "h": 302.1
  },
  "luminance": 0.25194
}

Semantic roles & 50–950 ramp

primary
#A470E6
secondary
#DBECC6
accent
#D2137E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A470E6

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

Preview Lab → · Contrast checker → · Palette generator →

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