#A470F8#A470F8

#A470F8 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.1% C 0.196 H 298.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A470F8
RGBrgb(164, 112, 248)
HSLhsl(263, 91%, 71%)
HSVhsv(263, 55%, 97%)
CMYKcmyk(33.9%, 54.8%, 0%, 2.7%)
CIE-LABlab(58.28, 48.31, -60.91)
CIE-LCHlch(58.28, 77.74, 308.42°)
OKLaboklab(66.06% 0.0937 -0.1724)
OKLCHoklch(66.06% 0.196 298.5)
XYZxyz(38.0431, 26.2578, 91.8527)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A470F8 #C4F870
analogous
#7080F8 #A470F8 #E870F8
triadic
#A470F8 #F8A470 #70F8A4
tetradic
#A470F8 #F87080 #C4F870 #70F8E8
square
#A470F8 #F87080 #C4F870 #70F8E8
split-complementary
#A470F8 #F8E870 #80F870
monochromatic
#5D0BE3 #7F36F5 #A470F8 #C9AAFB #ECE2FE

Accessibility & contrast

On white

3.36
#A470F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A470F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A470F8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A470F8#FFFFFF#000000##000000
##A470F81.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFD
Deuteranopia (green-blind)
#468BF5
Tritanopia (blue-blind)
#928CA9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a470f8;
/* rgb */ color: rgb(164, 112, 248);
/* oklch */ color: oklch(66.1% 0.196 298.5);
Tailwind
colors: {
  custom: {
    50: '#c39bfb',
    500: '#a470f8',
    950: '#000000',
  },
}
SCSS
$custom: #a470f8;
$custom-light: #c39bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a470f8",
  "rgb": {
    "r": 164,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 262.941,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66062,
    "c": 0.19627,
    "h": 298.5
  },
  "luminance": 0.26258
}

Semantic roles & 50–950 ramp

primary
#A470F8
secondary
#E6F4CF
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A470F8

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

Preview Lab → · Contrast checker → · Palette generator →

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