#A827A6#A827A6

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

Color values

HEX#A827A6
RGBrgb(168, 39, 166)
HSLhsl(301, 62%, 41%)
HSVhsv(301, 77%, 66%)
CMYKcmyk(0%, 76.8%, 1.2%, 34.1%)
CIE-LABlab(42.05, 64.75, -39.78)
CIE-LCHlch(42.05, 76.00, 328.44°)
OKLaboklab(52.86% 0.1817 -0.1102)
OKLCHoklch(52.86% 0.212 328.8)
XYZxyz(23.7567, 12.5308, 37.2365)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A827A6 #27A829
analogous
#6927A8 #A827A6 #A82765
triadic
#A827A6 #A6A827 #27A6A8
tetradic
#A827A6 #A86927 #27A829 #2765A8
square
#A827A6 #A86927 #27A829 #2765A8
split-complementary
#A827A6 #65A827 #27A869
monochromatic
#451044 #761B75 #A827A6 #D13BCF #DD6CDB

Accessibility & contrast

On white

5.99
#A827A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A827A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A827A6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A827A6#FFFFFF#000000##FFFFFF
##A827A61.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0958A9
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#AE3C66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a827a6;
/* rgb */ color: rgb(168, 39, 166);
/* oklch */ color: oklch(52.9% 0.212 328.8);
Tailwind
colors: {
  custom: {
    50: '#c670c1',
    500: '#a827a6',
    950: '#000000',
  },
}
SCSS
$custom: #a827a6;
$custom-light: #c670c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a827a6",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 300.93,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.21248,
    "h": 328.8
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A827A6

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

Preview Lab → · Contrast checker → · Palette generator →

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