#A02CBB#A02CBB

#A02CBB is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.221 H 319.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A02CBB
RGBrgb(160, 44, 187)
HSLhsl(289, 62%, 45%)
HSVhsv(289, 76%, 73%)
CMYKcmyk(14.4%, 76.5%, 0%, 26.7%)
CIE-LABlab(42.56, 65.23, -51.47)
CIE-LCHlch(42.56, 83.09, 321.72°)
OKLaboklab(53.38% 0.167 -0.1446)
OKLCHoklch(53.38% 0.221 319.1)
XYZxyz(24.3663, 12.8640, 48.2036)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CBB #47BB2C
analogous
#582CBB #A02CBB #BB2C8F
triadic
#A02CBB #BBA02C #2CBBA0
tetradic
#A02CBB #BB582C #47BB2C #2C8FBB
square
#A02CBB #BB582C #47BB2C #2C8FBB
split-complementary
#A02CBB #8FBB2C #2CBB58
monochromatic
#4B1558 #762089 #A02CBB #BC4FD6 #CF80E1

Accessibility & contrast

On white

5.88
#A02CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A02CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CBB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CBB#FFFFFF#000000##FFFFFF
##A02CBB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#3668B8
Tritanopia (blue-blind)
#A04A73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02cbb;
/* rgb */ color: rgb(160, 44, 187);
/* oklch */ color: oklch(53.4% 0.221 319.1);
Tailwind
colors: {
  custom: {
    50: '#c072d0',
    500: '#a02cbb',
    950: '#000000',
  },
}
SCSS
$custom: #a02cbb;
$custom-light: #c072d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cbb",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 288.671,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.22089,
    "h": 319.1
  },
  "luminance": 0.12863
}

Semantic roles & 50–950 ramp

primary
#A02CBB
secondary
#88CA79
accent
#E54361
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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