#A171CA#A171CA

#A171CA is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.3% C 0.138 H 307.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A171CA
RGBrgb(161, 113, 202)
HSLhsl(272, 46%, 62%)
HSVhsv(272, 44%, 79%)
CMYKcmyk(20.3%, 44.1%, 0%, 20.8%)
CIE-LABlab(55.74, 35.93, -39.17)
CIE-LCHlch(55.74, 53.15, 312.53°)
OKLaboklab(63.31% 0.0845 -0.1091)
OKLCHoklch(63.31% 0.138 307.8)
XYZxyz(31.2617, 23.6519, 58.7841)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A171CA #9ACA71
analogous
#7571CA #A171CA #CA71C6
triadic
#A171CA #CAA171 #71CAA1
tetradic
#A171CA #CA7571 #9ACA71 #71C6CA
square
#A171CA #CA7571 #9ACA71 #71C6CA
split-complementary
#A171CA #C6CA71 #71CA75
monochromatic
#64348C #8345B9 #A171CA #BF9EDB #DCCAEB

Accessibility & contrast

On white

3.66
#A171CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A171CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A171CA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A171CA#FFFFFF#000000##000000
##A171CA1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#6886C8
Tritanopia (blue-blind)
#9B7F94
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a171ca;
/* rgb */ color: rgb(161, 113, 202);
/* oklch */ color: oklch(63.3% 0.138 307.8);
Tailwind
colors: {
  custom: {
    50: '#be9bda',
    500: '#a171ca',
    950: '#000000',
  },
}
SCSS
$custom: #a171ca;
$custom-light: #be9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#a171ca",
  "rgb": {
    "r": 161,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 272.36,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63306,
    "c": 0.13797,
    "h": 307.8
  },
  "luminance": 0.23652
}

Semantic roles & 50–950 ramp

primary
#A171CA
secondary
#CADCBB
accent
#B92D6D
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A171CA

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

Preview Lab → · Contrast checker → · Palette generator →

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