#A470FB#A470FB

#A470FB is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.2% C 0.200 H 298.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A470FB
RGBrgb(164, 112, 251)
HSLhsl(262, 95%, 71%)
HSVhsv(262, 55%, 98%)
CMYKcmyk(34.7%, 55.4%, 0%, 1.6%)
CIE-LABlab(58.46, 49.05, -62.28)
CIE-LCHlch(58.46, 79.28, 308.22°)
OKLaboklab(66.25% 0.0938 -0.1765)
OKLCHoklch(66.25% 0.2 298)
XYZxyz(38.5123, 26.4454, 94.3235)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A470FB #C7FB70
analogous
#7081FB #A470FB #E970FB
triadic
#A470FB #FBA470 #70FBA4
tetradic
#A470FB #FB7081 #C7FB70 #70FBE9
square
#A470FB #FB7081 #C7FB70 #70FBE9
split-complementary
#A470FB #FBE970 #81FB70
monochromatic
#5C07EA #7E34F9 #A470FB #CAACFD #ECE1FE

Accessibility & contrast

On white

3.34
#A470FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A470FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A470FB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A470FB#FFFFFF#000000##000000
##A470FB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#918CAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a470fb;
/* rgb */ color: rgb(164, 112, 251);
/* oklch */ color: oklch(66.2% 0.200 298.0);
Tailwind
colors: {
  custom: {
    50: '#c39bfd',
    500: '#a470fb',
    950: '#000000',
  },
}
SCSS
$custom: #a470fb;
$custom-light: #c39bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a470fb",
  "rgb": {
    "r": 164,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 262.446,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66249,
    "c": 0.19985,
    "h": 298
  },
  "luminance": 0.26446
}

Semantic roles & 50–950 ramp

primary
#A470FB
secondary
#E8F6D1
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A470FB

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

Preview Lab → · Contrast checker → · Palette generator →

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