#A827AA#A827AA

#A827AA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.215 H 327.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A827AA
RGBrgb(168, 39, 170)
HSLhsl(299, 63%, 41%)
HSVhsv(299, 77%, 67%)
CMYKcmyk(1.2%, 77.1%, 0%, 33.3%)
CIE-LABlab(42.28, 65.40, -41.80)
CIE-LCHlch(42.28, 77.62, 327.42°)
OKLaboklab(53.1% 0.1816 -0.116)
OKLCHoklch(53.1% 0.216 327.4)
XYZxyz(24.1293, 12.6799, 39.1990)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A827AA #29AA27
analogous
#6627AA #A827AA #AA276A
triadic
#A827AA #AAA827 #27AAA8
tetradic
#A827AA #AA6627 #29AA27 #276AAA
square
#A827AA #AA6627 #29AA27 #276AAA
split-complementary
#A827AA #6AAA27 #27AA66
monochromatic
#461046 #771C78 #A827AA #D03CD2 #DC6EDE

Accessibility & contrast

On white

5.94
#A827AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A827AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A827AA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A827AA#FFFFFF#000000##FFFFFF
##A827AA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4B69A7
Tritanopia (blue-blind)
#AD3E68
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a827aa;
/* rgb */ color: rgb(168, 39, 170);
/* oklch */ color: oklch(53.1% 0.215 327.4);
Tailwind
colors: {
  custom: {
    50: '#c671c4',
    500: '#a827aa',
    950: '#000000',
  },
}
SCSS
$custom: #a827aa;
$custom-light: #c671c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a827aa",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 299.084,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.2155,
    "h": 327.4
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#A827AA
secondary
#6AC469
accent
#E64245
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A827AA

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

Preview Lab → · Contrast checker → · Palette generator →

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