#A02CBE#A02CBE

#A02CBE is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.223 H 318.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A02CBE
RGBrgb(160, 44, 190)
HSLhsl(288, 62%, 46%)
HSVhsv(288, 77%, 75%)
CMYKcmyk(15.8%, 76.8%, 0%, 25.5%)
CIE-LABlab(42.75, 65.78, -52.91)
CIE-LCHlch(42.75, 84.42, 321.19°)
OKLaboklab(53.58% 0.1666 -0.1488)
OKLCHoklch(53.58% 0.223 318.2)
XYZxyz(24.6909, 12.9938, 49.9127)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CBE #4ABE2C
analogous
#572CBE #A02CBE #BE2C93
triadic
#A02CBE #BEA02C #2CBEA0
tetradic
#A02CBE #BE572C #4ABE2C #2C93BE
square
#A02CBE #BE572C #4ABE2C #2C93BE
split-complementary
#A02CBE #93BE2C #2CBE57
monochromatic
#4C155B #76208C #A02CBE #BB51D7 #CE82E2

Accessibility & contrast

On white

5.84
#A02CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A02CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CBE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CBE#FFFFFF#000000##FFFFFF
##A02CBE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3368BB
Tritanopia (blue-blind)
#9F4C74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02cbe;
/* rgb */ color: rgb(160, 44, 190);
/* oklch */ color: oklch(53.6% 0.223 318.2);
Tailwind
colors: {
  custom: {
    50: '#c072d2',
    500: '#a02cbe',
    950: '#000000',
  },
}
SCSS
$custom: #a02cbe;
$custom-light: #c072d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cbe",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 190
  },
  "hsl": {
    "h": 287.671,
    "s": 62.393,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53578,
    "c": 0.2234,
    "h": 318.2
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#A02CBE
secondary
#8BCB7B
accent
#E54264
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A02CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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