#A471F8#A471F8

#A471F8 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.195 H 298.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A471F8
RGBrgb(164, 113, 248)
HSLhsl(263, 91%, 71%)
HSVhsv(263, 54%, 97%)
CMYKcmyk(33.9%, 54.4%, 0%, 2.7%)
CIE-LABlab(58.49, 47.76, -60.57)
CIE-LCHlch(58.49, 77.14, 308.26°)
OKLaboklab(66.22% 0.0925 -0.1715)
OKLCHoklch(66.22% 0.195 298.4)
XYZxyz(38.1541, 26.4796, 91.8897)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A471F8 #C5F871
analogous
#7181F8 #A471F8 #E871F8
triadic
#A471F8 #F8A471 #71F8A4
tetradic
#A471F8 #F87181 #C5F871 #71F8E8
square
#A471F8 #F87181 #C5F871 #71F8E8
split-complementary
#A471F8 #F8E871 #81F871
monochromatic
#5D0BE3 #7F37F5 #A471F8 #C9ABFB #ECE2FE

Accessibility & contrast

On white

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

On black

6.30
#A471F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A471F8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A471F8#FFFFFF#000000##000000
##A471F81.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFD
Deuteranopia (green-blind)
#488BF5
Tritanopia (blue-blind)
#928CAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a471f8;
/* rgb */ color: rgb(164, 113, 248);
/* oklch */ color: oklch(66.2% 0.195 298.4);
Tailwind
colors: {
  custom: {
    50: '#c39bfb',
    500: '#a471f8',
    950: '#000000',
  },
}
SCSS
$custom: #a471f8;
$custom-light: #c39bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a471f8",
  "rgb": {
    "r": 164,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 262.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.19483,
    "h": 298.4
  },
  "luminance": 0.2648
}

Semantic roles & 50–950 ramp

primary
#A471F8
secondary
#E7F5D0
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A471F8

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

Preview Lab → · Contrast checker → · Palette generator →

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