#A02CBA#A02CBA

#A02CBA is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.220 H 319.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A02CBA
RGBrgb(160, 44, 186)
HSLhsl(289, 62%, 45%)
HSVhsv(289, 76%, 73%)
CMYKcmyk(14%, 76.3%, 0%, 27.1%)
CIE-LABlab(42.49, 65.04, -50.99)
CIE-LCHlch(42.49, 82.64, 321.91°)
OKLaboklab(53.31% 0.1671 -0.1432)
OKLCHoklch(53.31% 0.22 319.4)
XYZxyz(24.2597, 12.8213, 47.6418)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CBA #46BA2C
analogous
#592CBA #A02CBA #BA2C8D
triadic
#A02CBA #BAA02C #2CBAA0
tetradic
#A02CBA #BA592C #46BA2C #2C8DBA
square
#A02CBA #BA592C #46BA2C #2C8DBA
split-complementary
#A02CBA #8DBA2C #2CBA59
monochromatic
#4B1557 #752089 #A02CBA #BC4ED5 #CF80E1

Accessibility & contrast

On white

5.89
#A02CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A02CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CBA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CBA#FFFFFF#000000##FFFFFF
##A02CBA1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#3768B7
Tritanopia (blue-blind)
#A04A72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02cba;
/* rgb */ color: rgb(160, 44, 186);
/* oklch */ color: oklch(53.3% 0.220 319.4);
Tailwind
colors: {
  custom: {
    50: '#c072cf',
    500: '#a02cba',
    950: '#000000',
  },
}
SCSS
$custom: #a02cba;
$custom-light: #c072cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cba",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 289.014,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.22006,
    "h": 319.4
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#A02CBA
secondary
#87CA78
accent
#E54361
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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