#A02CB3#A02CB3

#A02CB3 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.214 H 321.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A02CB3
RGBrgb(160, 44, 179)
HSLhsl(292, 61%, 44%)
HSVhsv(292, 75%, 70%)
CMYKcmyk(10.6%, 75.4%, 0%, 29.8%)
CIE-LABlab(42.05, 63.76, -47.58)
CIE-LCHlch(42.05, 79.56, 323.27°)
OKLaboklab(52.85% 0.1678 -0.1332)
OKLCHoklch(52.85% 0.214 321.6)
XYZxyz(23.5337, 12.5309, 43.8182)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02CB3 #3FB32C
analogous
#5C2CB3 #A02CB3 #B32C82
triadic
#A02CB3 #B3A02C #2CB3A0
tetradic
#A02CB3 #B35C2C #3FB32C #2C82B3
square
#A02CB3 #B35C2C #3FB32C #2C82B3
split-complementary
#A02CB3 #82B32C #2CB35C
monochromatic
#481451 #742082 #A02CB3 #BF4AD2 #D07BDF

Accessibility & contrast

On white

5.99
#A02CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A02CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02CB3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02CB3#FFFFFF#000000##FFFFFF
##A02CB31.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3E67B0
Tritanopia (blue-blind)
#A1476E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02cb3;
/* rgb */ color: rgb(160, 44, 179);
/* oklch */ color: oklch(52.9% 0.214 321.6);
Tailwind
colors: {
  custom: {
    50: '#c072ca',
    500: '#a02cb3',
    950: '#000000',
  },
}
SCSS
$custom: #a02cb3;
$custom-light: #c072ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a02cb3",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 291.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.21425,
    "h": 321.6
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#A02CB3
secondary
#80C774
accent
#E4445B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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