#A02C8D#A02C8D

#A02C8D is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.184 H 335.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A02C8D
RGBrgb(160, 44, 141)
HSLhsl(310, 57%, 40%)
HSVhsv(310, 73%, 63%)
CMYKcmyk(0%, 72.5%, 11.9%, 37.3%)
CIE-LABlab(39.91, 57.40, -28.14)
CIE-LCHlch(39.91, 63.92, 333.89°)
OKLaboklab(50.64% 0.1677 -0.0768)
OKLCHoklch(50.64% 0.184 335.4)
XYZxyz(20.2059, 11.1998, 26.2917)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02C8D #2CA03F
analogous
#792CA0 #A02C8D #A02C53
triadic
#A02C8D #8DA02C #2C8DA0
tetradic
#A02C8D #A0792C #2CA03F #2C53A0
square
#A02C8D #A0792C #2CA03F #2C53A0
split-complementary
#A02C8D #53A02C #2CA079
monochromatic
#401238 #701F63 #A02C8D #CA3FB3 #D76FC6

Accessibility & contrast

On white

6.48
#A02C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A02C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02C8D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02C8D#FFFFFF#000000##FFFFFF
##A02C8D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#A83559
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02c8d;
/* rgb */ color: rgb(160, 44, 141);
/* oklch */ color: oklch(50.6% 0.184 335.4);
Tailwind
colors: {
  custom: {
    50: '#c070ae',
    500: '#a02c8d',
    950: '#000000',
  },
}
SCSS
$custom: #a02c8d;
$custom-light: #c070ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a02c8d",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 309.828,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.18442,
    "h": 335.4
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#A02C8D
secondary
#69BF77
accent
#E06148
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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