#A871ED#A871ED

#A871ED is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.182 H 302.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A871ED
RGBrgb(168, 113, 237)
HSLhsl(267, 78%, 69%)
HSVhsv(267, 52%, 93%)
CMYKcmyk(29.1%, 52.3%, 0%, 7.1%)
CIE-LABlab(58.27, 46.04, -54.79)
CIE-LCHlch(58.27, 71.57, 310.04°)
OKLaboklab(65.95% 0.097 -0.1544)
OKLCHoklch(65.95% 0.182 302.1)
XYZxyz(37.3362, 26.2495, 83.2040)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A871ED #B6ED71
analogous
#7178ED #A871ED #E671ED
triadic
#A871ED #EDA871 #71EDA8
tetradic
#A871ED #ED7178 #B6ED71 #71EDE6
square
#A871ED #ED7178 #B6ED71 #71EDE6
split-complementary
#A871ED #EDE671 #78ED71
monochromatic
#681ACA #873BE6 #A871ED #C9A7F4 #EBDEFB

Accessibility & contrast

On white

3.36
#A871ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A871ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A871ED
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A871ED#FFFFFF#000000##000000
##A871ED1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF1
Deuteranopia (green-blind)
#568CEA
Tritanopia (blue-blind)
#9B88A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a871ed;
/* rgb */ color: rgb(168, 113, 237);
/* oklch */ color: oklch(65.9% 0.182 302.1);
Tailwind
colors: {
  custom: {
    50: '#c59bf3',
    500: '#a871ed',
    950: '#000000',
  },
}
SCSS
$custom: #a871ed;
$custom-light: #c59bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a871ed",
  "rgb": {
    "r": 168,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 266.613,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65949,
    "c": 0.18234,
    "h": 302.1
  },
  "luminance": 0.2625
}

Semantic roles & 50–950 ramp

primary
#A871ED
secondary
#DFEFCA
accent
#DA0C7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A871ED

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

Preview Lab → · Contrast checker → · Palette generator →

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