#A827AE#A827AE

#A827AE is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.219 H 326.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A827AE
RGBrgb(168, 39, 174)
HSLhsl(297, 63%, 42%)
HSVhsv(297, 78%, 68%)
CMYKcmyk(3.4%, 77.6%, 0%, 31.8%)
CIE-LABlab(42.51, 66.06, -43.80)
CIE-LCHlch(42.51, 79.27, 326.45°)
OKLaboklab(53.34% 0.1814 -0.1219)
OKLCHoklch(53.34% 0.219 326.1)
XYZxyz(24.5135, 12.8336, 41.2222)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A827AE #2DAE27
analogous
#6427AE #A827AE #AE2771
triadic
#A827AE #AEA827 #27AEA8
tetradic
#A827AE #AE6427 #2DAE27 #2771AE
square
#A827AE #AE6427 #2DAE27 #2771AE
split-complementary
#A827AE #71AE27 #27AE64
monochromatic
#47114A #781C7C #A827AE #CD3ED4 #DA70DF

Accessibility & contrast

On white

5.89
#A827AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A827AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A827AE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A827AE#FFFFFF#000000##FFFFFF
##A827AE1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#AC406A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a827ae;
/* rgb */ color: rgb(168, 39, 174);
/* oklch */ color: oklch(53.3% 0.219 326.1);
Tailwind
colors: {
  custom: {
    50: '#c671c7',
    500: '#a827ae',
    950: '#000000',
  },
}
SCSS
$custom: #a827ae;
$custom-light: #c671c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a827ae",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 297.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.21855,
    "h": 326.1
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#A827AE
secondary
#6FC66B
accent
#E64149
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A827AE

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

Preview Lab → · Contrast checker → · Palette generator →

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