#A871CD#A871CD

#A871CD is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.144 H 310.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A871CD
RGBrgb(168, 113, 205)
HSLhsl(276, 48%, 62%)
HSVhsv(276, 45%, 80%)
CMYKcmyk(18%, 44.9%, 0%, 19.6%)
CIE-LABlab(56.63, 38.62, -39.42)
CIE-LCHlch(56.63, 55.19, 314.41°)
OKLaboklab(64.19% 0.0935 -0.1096)
OKLCHoklch(64.19% 0.144 310.5)
XYZxyz(33.0710, 24.5434, 60.7410)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A871CD #96CD71
analogous
#7A71CD #A871CD #CD71C4
triadic
#A871CD #CDA871 #71CDA8
tetradic
#A871CD #CD7A71 #96CD71 #71C4CD
square
#A871CD #CD7A71 #96CD71 #71C4CD
split-complementary
#A871CD #C4CD71 #71CD7A
monochromatic
#6B3391 #8C44BD #A871CD #C49EDD #DFCCED

Accessibility & contrast

On white

3.55
#A871CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#A871CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A871CD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A871CD#FFFFFF#000000##000000
##A871CD1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#A47F95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a871cd;
/* rgb */ color: rgb(168, 113, 205);
/* oklch */ color: oklch(64.2% 0.144 310.5);
Tailwind
colors: {
  custom: {
    50: '#c39bdc',
    500: '#a871cd',
    950: '#000000',
  },
}
SCSS
$custom: #a871cd;
$custom-light: #c39bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a871cd",
  "rgb": {
    "r": 168,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 275.87,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64189,
    "c": 0.14409,
    "h": 310.5
  },
  "luminance": 0.24543
}

Semantic roles & 50–950 ramp

primary
#A871CD
secondary
#CADEBC
accent
#BB2A65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A871CD

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

Preview Lab → · Contrast checker → · Palette generator →

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