#A171FD#A171FD

#A171FD is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.2% C 0.201 H 296.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A171FD
RGBrgb(161, 113, 253)
HSLhsl(261, 97%, 72%)
HSVhsv(261, 55%, 99%)
CMYKcmyk(36.4%, 55.3%, 0%, 0.8%)
CIE-LABlab(58.49, 48.33, -63.35)
CIE-LCHlch(58.49, 79.68, 307.34°)
OKLaboklab(66.24% 0.0889 -0.1797)
OKLCHoklch(66.24% 0.201 296.3)
XYZxyz(38.3282, 26.4785, 96.0010)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A171FD #CDFD71
analogous
#7187FD #A171FD #E771FD
triadic
#A171FD #FDA171 #71FDA1
tetradic
#A171FD #FD7187 #CDFD71 #71FDE7
square
#A171FD #FD7187 #CDFD71 #71FDE7
split-complementary
#A171FD #FDE771 #87FD71
monochromatic
#5503F0 #7935FC #A171FD #C9ADFE #EBE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A171FD#FFFFFF#000000##000000
##A171FD1.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)
#2E8DFF
Deuteranopia (green-blind)
#3F8BFA
Tritanopia (blue-blind)
#8B8EAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a171fd;
/* rgb */ color: rgb(161, 113, 253);
/* oklch */ color: oklch(66.2% 0.201 296.3);
Tailwind
colors: {
  custom: {
    50: '#c19bff',
    500: '#a171fd',
    950: '#000000',
  },
}
SCSS
$custom: #a171fd;
$custom-light: #c19bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a171fd",
  "rgb": {
    "r": 161,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 260.571,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66241,
    "c": 0.2005,
    "h": 296.3
  },
  "luminance": 0.26479
}

Semantic roles & 50–950 ramp

primary
#A171FD
secondary
#EAF7D3
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A171FD

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

Preview Lab → · Contrast checker → · Palette generator →

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