#A02C8E#A02C8E

#A02C8E is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.185 H 335.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A02C8E
RGBrgb(160, 44, 142)
HSLhsl(309, 57%, 40%)
HSVhsv(309, 73%, 63%)
CMYKcmyk(0%, 72.5%, 11.2%, 37.3%)
CIE-LABlab(39.96, 57.55, -28.67)
CIE-LCHlch(39.96, 64.30, 333.52°)
OKLaboklab(50.69% 0.1678 -0.0783)
OKLCHoklch(50.69% 0.185 335)
XYZxyz(20.2806, 11.2297, 26.6854)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02C8E #2CA03E
analogous
#782CA0 #A02C8E #A02C54
triadic
#A02C8E #8EA02C #2C8EA0
tetradic
#A02C8E #A0782C #2CA03E #2C54A0
square
#A02C8E #A0782C #2CA03E #2C54A0
split-complementary
#A02C8E #54A02C #2CA078
monochromatic
#401239 #701F63 #A02C8E #CA3FB5 #D76FC7

Accessibility & contrast

On white

6.47
#A02C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02C8E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02C8E#FFFFFF#000000##FFFFFF
##A02C8E1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#A8355A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02c8e;
/* rgb */ color: rgb(160, 44, 142);
/* oklch */ color: oklch(50.7% 0.185 335.0);
Tailwind
colors: {
  custom: {
    50: '#c070af',
    500: '#a02c8e',
    950: '#000000',
  },
}
SCSS
$custom: #a02c8e;
$custom-light: #c070af;
$custom-dark: #000000;
JSON
{
  "hex": "#a02c8e",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 309.31,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.18516,
    "h": 335
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#A02C8E
secondary
#69BF76
accent
#E05F48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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