#A827A2#A827A2

#A827A2 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.209 H 330.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A827A2
RGBrgb(168, 39, 162)
HSLhsl(303, 62%, 41%)
HSVhsv(303, 77%, 66%)
CMYKcmyk(0%, 76.8%, 3.6%, 34.1%)
CIE-LABlab(41.82, 64.11, -37.74)
CIE-LCHlch(41.82, 74.40, 329.52°)
OKLaboklab(52.63% 0.1817 -0.1043)
OKLCHoklch(52.63% 0.21 330.2)
XYZxyz(23.3955, 12.3864, 35.3340)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A827A2 #27A82D
analogous
#6E27A8 #A827A2 #A82761
triadic
#A827A2 #A2A827 #27A2A8
tetradic
#A827A2 #A86E27 #27A82D #2761A8
square
#A827A2 #A86E27 #27A82D #2761A8
split-complementary
#A827A2 #61A827 #27A86E
monochromatic
#451042 #761B72 #A827A2 #D13BCA #DD6CD8

Accessibility & contrast

On white

6.04
#A827A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A827A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A827A2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A827A2#FFFFFF#000000##FFFFFF
##A827A21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A5
Deuteranopia (green-blind)
#4F699F
Tritanopia (blue-blind)
#AE3963
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a827a2;
/* rgb */ color: rgb(168, 39, 162);
/* oklch */ color: oklch(52.6% 0.209 330.2);
Tailwind
colors: {
  custom: {
    50: '#c670be',
    500: '#a827a2',
    950: '#000000',
  },
}
SCSS
$custom: #a827a2;
$custom-light: #c670be;
$custom-dark: #000000;
JSON
{
  "hex": "#a827a2",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 302.791,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.2095,
    "h": 330.2
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#A827A2
secondary
#67C36C
accent
#E54A42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A827A2

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

Preview Lab → · Contrast checker → · Palette generator →

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