#A02CBC#A02CBC

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

Color values

HEX#A02CBC
RGBrgb(160, 44, 188)
HSLhsl(288, 62%, 45%)
HSVhsv(288, 77%, 74%)
CMYKcmyk(14.9%, 76.6%, 0%, 26.3%)
CIE-LABlab(42.62, 65.41, -51.95)
CIE-LCHlch(42.62, 83.53, 321.54°)
OKLaboklab(53.44% 0.1669 -0.146)
OKLCHoklch(53.44% 0.222 318.8)
XYZxyz(24.4738, 12.9070, 48.7694)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CBC #48BC2C
analogous
#582CBC #A02CBC #BC2C90
triadic
#A02CBC #BCA02C #2CBCA0
tetradic
#A02CBC #BC582C #48BC2C #2C90BC
square
#A02CBC #BC582C #48BC2C #2C90BC
split-complementary
#A02CBC #90BC2C #2CBC58
monochromatic
#4C1559 #76208A #A02CBC #BC4FD6 #CF81E1

Accessibility & contrast

On white

5.86
#A02CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A02CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CBC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CBC#FFFFFF#000000##FFFFFF
##A02CBC1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#A04B73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a02cbc;
/* rgb */ color: rgb(160, 44, 188);
/* oklch */ color: oklch(53.4% 0.222 318.8);
Tailwind
colors: {
  custom: {
    50: '#c072d1',
    500: '#a02cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a02cbc;
$custom-light: #c072d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cbc",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 288.333,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.22173,
    "h": 318.8
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#A02CBC
secondary
#89CA79
accent
#E54362
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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