#A02BA0#A02BA0

#A02BA0 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.200 H 328.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A02BA0
RGBrgb(160, 43, 160)
HSLhsl(300, 58%, 40%)
HSVhsv(300, 73%, 63%)
CMYKcmyk(0%, 73.1%, 0%, 37.3%)
CIE-LABlab(40.80, 60.79, -38.25)
CIE-LCHlch(40.80, 71.82, 327.82°)
OKLaboklab(51.6% 0.1696 -0.106)
OKLCHoklch(51.6% 0.2 328)
XYZxyz(21.7060, 11.7410, 34.3739)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BA0 #2BA02B
analogous
#662BA0 #A02BA0 #A02B66
triadic
#A02BA0 #A0A02B #2BA0A0
tetradic
#A02BA0 #A0662B #2BA02B #2B66A0
square
#A02BA0 #A0662B #2BA02B #2B66A0
split-complementary
#A02BA0 #66A02B #2BA066
monochromatic
#401140 #701E70 #A02BA0 #CB3DCB #D86ED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02BA0#FFFFFF#000000##FFFFFF
##A02BA01.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)
#1456A3
Deuteranopia (green-blind)
#4B659D
Tritanopia (blue-blind)
#A53D63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a02ba0;
/* rgb */ color: rgb(160, 43, 160);
/* oklch */ color: oklch(51.6% 0.200 328.0);
Tailwind
colors: {
  custom: {
    50: '#c071bc',
    500: '#a02ba0',
    950: '#000000',
  },
}
SCSS
$custom: #a02ba0;
$custom-light: #c071bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ba0",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 300,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.19997,
    "h": 328
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#A02BA0
secondary
#68BF68
accent
#E14747
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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