#A827AF#A827AF

#A827AF is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.219 H 325.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A827AF
RGBrgb(168, 39, 175)
HSLhsl(297, 64%, 42%)
HSVhsv(297, 78%, 69%)
CMYKcmyk(4%, 77.7%, 0%, 31.4%)
CIE-LABlab(42.57, 66.23, -44.30)
CIE-LCHlch(42.57, 79.68, 326.22°)
OKLaboklab(53.4% 0.1814 -0.1233)
OKLCHoklch(53.4% 0.219 325.8)
XYZxyz(24.6113, 12.8727, 41.7375)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A827AF #2EAF27
analogous
#6427AF #A827AF #AF2772
triadic
#A827AF #AFA827 #27AFA8
tetradic
#A827AF #AF6427 #2EAF27 #2772AF
square
#A827AF #AF6427 #2EAF27 #2772AF
split-complementary
#A827AF #72AF27 #27AF64
monochromatic
#48114B #781C7D #A827AF #CD3FD4 #DA71DF

Accessibility & contrast

On white

5.88
#A827AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A827AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A827AF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A827AF#FFFFFF#000000##FFFFFF
##A827AF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#AC406B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a827af;
/* rgb */ color: rgb(168, 39, 175);
/* oklch */ color: oklch(53.4% 0.219 325.8);
Tailwind
colors: {
  custom: {
    50: '#c671c7',
    500: '#a827af',
    950: '#000000',
  },
}
SCSS
$custom: #a827af;
$custom-light: #c671c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a827af",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 296.912,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.21932,
    "h": 325.8
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#A827AF
secondary
#70C66B
accent
#E7414A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A827AF

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

Preview Lab → · Contrast checker → · Palette generator →

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