#A027A5#A027A5

#A027A5 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.208 H 326.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A027A5
RGBrgb(160, 39, 165)
HSLhsl(298, 62%, 40%)
HSVhsv(298, 76%, 65%)
CMYKcmyk(3%, 76.4%, 0%, 35.3%)
CIE-LABlab(40.64, 62.91, -41.50)
CIE-LCHlch(40.64, 75.36, 326.59°)
OKLaboklab(51.58% 0.1731 -0.1154)
OKLCHoklch(51.58% 0.208 326.3)
XYZxyz(22.0138, 11.6428, 36.6778)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A027A5 #2CA527
analogous
#6127A5 #A027A5 #A5276B
triadic
#A027A5 #A5A027 #27A5A0
tetradic
#A027A5 #A56127 #2CA527 #276BA5
square
#A027A5 #A56127 #2CA527 #276BA5
split-complementary
#A027A5 #6BA527 #27A561
monochromatic
#401042 #701B74 #A027A5 #CA39D0 #D76ADC

Accessibility & contrast

On white

6.31
#A027A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A027A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A027A5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A027A5#FFFFFF#000000##FFFFFF
##A027A51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A43D65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a027a5;
/* rgb */ color: rgb(160, 39, 165);
/* oklch */ color: oklch(51.6% 0.208 326.3);
Tailwind
colors: {
  custom: {
    50: '#c06fc0',
    500: '#a027a5',
    950: '#000000',
  },
}
SCSS
$custom: #a027a5;
$custom-light: #c06fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a027a5",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 297.619,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.20803,
    "h": 326.3
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#A027A5
secondary
#69C266
accent
#E54349
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A027A5

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

Preview Lab → · Contrast checker → · Palette generator →

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