#A971F9#A971F9

#A971F9 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.8% C 0.197 H 300.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A971F9
RGBrgb(169, 113, 249)
HSLhsl(265, 92%, 71%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(32.1%, 54.6%, 0%, 2.4%)
CIE-LABlab(59.05, 49.19, -60.19)
CIE-LCHlch(59.05, 77.74, 309.25°)
OKLaboklab(66.77% 0.0988 -0.1702)
OKLCHoklch(66.77% 0.197 300.1)
XYZxyz(39.3621, 27.0846, 92.7583)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A971F9 #C1F971
analogous
#717DF9 #A971F9 #ED71F9
triadic
#A971F9 #F9A971 #71F9A9
tetradic
#A971F9 #F9717D #C1F971 #71F9ED
square
#A971F9 #F9717D #C1F971 #71F9ED
split-complementary
#A971F9 #F9ED71 #7DF971
monochromatic
#640AE6 #8536F7 #A971F9 #CDACFB #EDE2FE

Accessibility & contrast

On white

3.27
#A971F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A971F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A971F9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A971F9#FFFFFF#000000##000000
##A971F91.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFE
Deuteranopia (green-blind)
#4C8DF6
Tritanopia (blue-blind)
#988CAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a971f9;
/* rgb */ color: rgb(169, 113, 249);
/* oklch */ color: oklch(66.8% 0.197 300.1);
Tailwind
colors: {
  custom: {
    50: '#c69bfc',
    500: '#a971f9',
    950: '#000000',
  },
}
SCSS
$custom: #a971f9;
$custom-light: #c69bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a971f9",
  "rgb": {
    "r": 169,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 264.706,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66766,
    "c": 0.19678,
    "h": 300.1
  },
  "luminance": 0.27085
}

Semantic roles & 50–950 ramp

primary
#A971F9
secondary
#E6F5D1
accent
#E60087
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A971F9

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

Preview Lab → · Contrast checker → · Palette generator →

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