#A827A4#A827A4

#A827A4 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.211 H 329.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A827A4
RGBrgb(168, 39, 164)
HSLhsl(302, 62%, 41%)
HSVhsv(302, 77%, 66%)
CMYKcmyk(0%, 76.8%, 2.4%, 34.1%)
CIE-LABlab(41.94, 64.43, -38.76)
CIE-LCHlch(41.94, 75.19, 328.97°)
OKLaboklab(52.74% 0.1817 -0.1072)
OKLCHoklch(52.74% 0.211 329.5)
XYZxyz(23.5746, 12.4580, 36.2778)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A827A4 #27A82B
analogous
#6B27A8 #A827A4 #A82764
triadic
#A827A4 #A4A827 #27A4A8
tetradic
#A827A4 #A86B27 #27A82B #2764A8
square
#A827A4 #A86B27 #27A82B #2764A8
split-complementary
#A827A4 #64A827 #27A86B
monochromatic
#451043 #761B74 #A827A4 #D13BCD #DD6CD9

Accessibility & contrast

On white

6.02
#A827A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A827A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A827A4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A827A4#FFFFFF#000000##FFFFFF
##A827A41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A7
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#AE3A64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a827a4;
/* rgb */ color: rgb(168, 39, 164);
/* oklch */ color: oklch(52.7% 0.211 329.5);
Tailwind
colors: {
  custom: {
    50: '#c670bf',
    500: '#a827a4',
    950: '#000000',
  },
}
SCSS
$custom: #a827a4;
$custom-light: #c670bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a827a4",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 301.86,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.21099,
    "h": 329.5
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#A827A4
secondary
#67C36A
accent
#E54742
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A827A4

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

Preview Lab → · Contrast checker → · Palette generator →

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