#A827A0#A827A0

#A827A0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.208 H 330.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A827A0
RGBrgb(168, 39, 160)
HSLhsl(304, 62%, 41%)
HSVhsv(304, 77%, 66%)
CMYKcmyk(0%, 76.8%, 4.8%, 34.1%)
CIE-LABlab(41.71, 63.80, -36.72)
CIE-LCHlch(41.71, 73.61, 330.08°)
OKLaboklab(52.51% 0.1817 -0.1013)
OKLCHoklch(52.51% 0.208 330.9)
XYZxyz(23.2191, 12.3158, 34.4052)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A827A0 #27A82F
analogous
#6F27A8 #A827A0 #A8275F
triadic
#A827A0 #A0A827 #27A0A8
tetradic
#A827A0 #A86F27 #27A82F #275FA8
square
#A827A0 #A86F27 #27A82F #275FA8
split-complementary
#A827A0 #5FA827 #27A86F
monochromatic
#451041 #761B71 #A827A0 #D13BC8 #DD6CD6

Accessibility & contrast

On white

6.06
#A827A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A827A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A827A0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A827A0#FFFFFF#000000##FFFFFF
##A827A01.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1857A3
Deuteranopia (green-blind)
#50699D
Tritanopia (blue-blind)
#AF3862
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a827a0;
/* rgb */ color: rgb(168, 39, 160);
/* oklch */ color: oklch(52.5% 0.208 330.9);
Tailwind
colors: {
  custom: {
    50: '#c670bc',
    500: '#a827a0',
    950: '#000000',
  },
}
SCSS
$custom: #a827a0;
$custom-light: #c670bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a827a0",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 160
  },
  "hsl": {
    "h": 303.721,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.20802,
    "h": 330.9
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#A827A0
secondary
#67C36D
accent
#E54D42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A827A0

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

Preview Lab → · Contrast checker → · Palette generator →

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