#A871FC#A871FC

#A871FC is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 66.9% C 0.200 H 299.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A871FC
RGBrgb(168, 113, 252)
HSLhsl(264, 96%, 72%)
HSVhsv(264, 55%, 99%)
CMYKcmyk(33.3%, 55.2%, 0%, 1.2%)
CIE-LABlab(59.12, 49.69, -61.74)
CIE-LCHlch(59.12, 79.25, 308.83°)
OKLaboklab(66.85% 0.0976 -0.1748)
OKLCHoklch(66.85% 0.2 299.2)
XYZxyz(39.6200, 27.1630, 95.2322)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A871FC #C5FC71
analogous
#7180FC #A871FC #EE71FC
triadic
#A871FC #FCA871 #71FCA8
tetradic
#A871FC #FC7180 #C5FC71 #71FCEE
square
#A871FC #FC7180 #C5FC71 #71FCEE
split-complementary
#A871FC #FCEE71 #80FC71
monochromatic
#6105EE #8335FB #A871FC #CDADFD #EDE1FE

Accessibility & contrast

On white

3.26
#A871FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A871FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A871FC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A871FC#FFFFFF#000000##000000
##A871FC1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#488DF9
Tritanopia (blue-blind)
#968DAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a871fc;
/* rgb */ color: rgb(168, 113, 252);
/* oklch */ color: oklch(66.9% 0.200 299.2);
Tailwind
colors: {
  custom: {
    50: '#c69bfe',
    500: '#a871fc',
    950: '#000000',
  },
}
SCSS
$custom: #a871fc;
$custom-light: #c69bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a871fc",
  "rgb": {
    "r": 168,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 263.741,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.20017,
    "h": 299.2
  },
  "luminance": 0.27163
}

Semantic roles & 50–950 ramp

primary
#A871FC
secondary
#E8F6D3
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A871FC

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

Preview Lab → · Contrast checker → · Palette generator →

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