#A827AC#A827AC

#A827AC is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.217 H 326.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A827AC
RGBrgb(168, 39, 172)
HSLhsl(298, 63%, 41%)
HSVhsv(298, 77%, 67%)
CMYKcmyk(2.3%, 77.3%, 0%, 32.5%)
CIE-LABlab(42.39, 65.73, -42.80)
CIE-LCHlch(42.39, 78.44, 326.93°)
OKLaboklab(53.22% 0.1815 -0.119)
OKLCHoklch(53.22% 0.217 326.8)
XYZxyz(24.3199, 12.7562, 40.2030)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A827AC #2BAC27
analogous
#6627AC #A827AC #AC276E
triadic
#A827AC #ACA827 #27ACA8
tetradic
#A827AC #AC6627 #2BAC27 #276EAC
square
#A827AC #AC6627 #2BAC27 #276EAC
split-complementary
#A827AC #6EAC27 #27AC66
monochromatic
#471048 #771C7A #A827AC #CF3DD3 #DB6FDE

Accessibility & contrast

On white

5.91
#A827AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A827AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A827AC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A827AC#FFFFFF#000000##FFFFFF
##A827AC1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#496AA9
Tritanopia (blue-blind)
#AD3F69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a827ac;
/* rgb */ color: rgb(168, 39, 172);
/* oklch */ color: oklch(53.2% 0.217 326.8);
Tailwind
colors: {
  custom: {
    50: '#c671c5',
    500: '#a827ac',
    950: '#000000',
  },
}
SCSS
$custom: #a827ac;
$custom-light: #c671c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a827ac",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 298.195,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.21702,
    "h": 326.8
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#A827AC
secondary
#6CC56A
accent
#E64247
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A827AC

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

Preview Lab → · Contrast checker → · Palette generator →

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