#A827A5#A827A5

#A827A5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.212 H 329.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A827A5
RGBrgb(168, 39, 165)
HSLhsl(301, 62%, 41%)
HSVhsv(301, 77%, 66%)
CMYKcmyk(0%, 76.8%, 1.8%, 34.1%)
CIE-LABlab(41.99, 64.59, -39.27)
CIE-LCHlch(41.99, 75.59, 328.70°)
OKLaboklab(52.8% 0.1817 -0.1087)
OKLCHoklch(52.8% 0.212 329.1)
XYZxyz(23.6653, 12.4943, 36.7552)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A827A5 #27A82A
analogous
#6A27A8 #A827A5 #A82765
triadic
#A827A5 #A5A827 #27A5A8
tetradic
#A827A5 #A86A27 #27A82A #2765A8
square
#A827A5 #A86A27 #27A82A #2765A8
split-complementary
#A827A5 #65A827 #27A86A
monochromatic
#451043 #761B74 #A827A5 #D13BCE #DD6CDA

Accessibility & contrast

On white

6.00
#A827A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A827A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A827A5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A827A5#FFFFFF#000000##FFFFFF
##A827A51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D58A8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#AE3B65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a827a5;
/* rgb */ color: rgb(168, 39, 165);
/* oklch */ color: oklch(52.8% 0.212 329.1);
Tailwind
colors: {
  custom: {
    50: '#c670c0',
    500: '#a827a5',
    950: '#000000',
  },
}
SCSS
$custom: #a827a5;
$custom-light: #c670c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a827a5",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 301.395,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.528,
    "c": 0.21173,
    "h": 329.1
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#A827A5
secondary
#67C369
accent
#E54642
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A827A5

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

Preview Lab → · Contrast checker → · Palette generator →

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