#A02C8F#A02C8F

#A02C8F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.186 H 334.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A02C8F
RGBrgb(160, 44, 143)
HSLhsl(309, 57%, 40%)
HSVhsv(309, 73%, 63%)
CMYKcmyk(0%, 72.5%, 10.6%, 37.3%)
CIE-LABlab(40.01, 57.71, -29.20)
CIE-LCHlch(40.01, 64.67, 333.16°)
OKLaboklab(50.74% 0.1679 -0.0798)
OKLCHoklch(50.74% 0.186 334.6)
XYZxyz(20.3560, 11.2599, 27.0826)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02C8F #2CA03D
analogous
#772CA0 #A02C8F #A02C55
triadic
#A02C8F #8FA02C #2C8FA0
tetradic
#A02C8F #A0772C #2CA03D #2C55A0
square
#A02C8F #A0772C #2CA03D #2C55A0
split-complementary
#A02C8F #55A02C #2CA077
monochromatic
#401239 #701F64 #A02C8F #CA3FB6 #D76FC8

Accessibility & contrast

On white

6.46
#A02C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A02C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02C8F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02C8F#FFFFFF#000000##FFFFFF
##A02C8F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#54648C
Tritanopia (blue-blind)
#A8365A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02c8f;
/* rgb */ color: rgb(160, 44, 143);
/* oklch */ color: oklch(50.7% 0.186 334.6);
Tailwind
colors: {
  custom: {
    50: '#c070b0',
    500: '#a02c8f',
    950: '#000000',
  },
}
SCSS
$custom: #a02c8f;
$custom-light: #c070b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a02c8f",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 308.793,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.18589,
    "h": 334.6
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#A02C8F
secondary
#69BF76
accent
#E05E48
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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