#A027A8#A027A8

#A027A8 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.210 H 325.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A027A8
RGBrgb(160, 39, 168)
HSLhsl(296, 62%, 41%)
HSVhsv(296, 77%, 66%)
CMYKcmyk(4.8%, 76.8%, 0%, 34.1%)
CIE-LABlab(40.82, 63.42, -43.01)
CIE-LCHlch(40.82, 76.63, 325.86°)
OKLaboklab(51.77% 0.1729 -0.1198)
OKLCHoklch(51.77% 0.21 325.3)
XYZxyz(22.2901, 11.7533, 38.1328)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A027A8 #2FA827
analogous
#5F27A8 #A027A8 #A8276F
triadic
#A027A8 #A8A027 #27A8A0
tetradic
#A027A8 #A85F27 #2FA827 #276FA8
square
#A027A8 #A85F27 #2FA827 #276FA8
split-complementary
#A027A8 #6FA827 #27A85F
monochromatic
#411045 #711B76 #A027A8 #C83BD1 #D66CDD

Accessibility & contrast

On white

6.27
#A027A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A027A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A027A8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A027A8#FFFFFF#000000##FFFFFF
##A027A81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#A43F67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a027a8;
/* rgb */ color: rgb(160, 39, 168);
/* oklch */ color: oklch(51.8% 0.210 325.3);
Tailwind
colors: {
  custom: {
    50: '#c06fc2',
    500: '#a027a8',
    950: '#000000',
  },
}
SCSS
$custom: #a027a8;
$custom-light: #c06fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a027a8",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 296.279,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.21038,
    "h": 325.3
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#A027A8
secondary
#6DC367
accent
#E5424D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A027A8

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

Preview Lab → · Contrast checker → · Palette generator →

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