#A971F1#A971F1

#A971F1 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.187 H 301.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A971F1
RGBrgb(169, 113, 241)
HSLhsl(266, 82%, 69%)
HSVhsv(266, 53%, 95%)
CMYKcmyk(29.9%, 53.1%, 0%, 5.5%)
CIE-LABlab(58.60, 47.25, -56.49)
CIE-LCHlch(58.60, 73.65, 309.91°)
OKLaboklab(66.29% 0.0984 -0.1593)
OKLCHoklch(66.29% 0.187 301.7)
XYZxyz(38.1408, 26.5960, 86.3262)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A971F1 #B9F171
analogous
#7179F1 #A971F1 #E971F1
triadic
#A971F1 #F1A971 #71F1A9
tetradic
#A971F1 #F17179 #B9F171 #71F1E9
square
#A971F1 #F17179 #B9F171 #71F1E9
split-complementary
#A971F1 #F1E971 #79F171
monochromatic
#6815D3 #8739EC #A971F1 #CBA9F6 #ECE0FC

Accessibility & contrast

On white

3.32
#A971F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A971F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A971F1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A971F1#FFFFFF#000000##000000
##A971F11.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#428CF5
Deuteranopia (green-blind)
#538CEE
Tritanopia (blue-blind)
#9B8AA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a971f1;
/* rgb */ color: rgb(169, 113, 241);
/* oklch */ color: oklch(66.3% 0.187 301.7);
Tailwind
colors: {
  custom: {
    50: '#c69bf6',
    500: '#a971f1',
    950: '#000000',
  },
}
SCSS
$custom: #a971f1;
$custom-light: #c69bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a971f1",
  "rgb": {
    "r": 169,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 266.25,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66285,
    "c": 0.1873,
    "h": 301.7
  },
  "luminance": 0.26596
}

Semantic roles & 50–950 ramp

primary
#A971F1
secondary
#E1F1CC
accent
#DE0780
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A971F1

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

Preview Lab → · Contrast checker → · Palette generator →

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