#A02E8F#A02E8F

#A02E8F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.184 H 334.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A02E8F
RGBrgb(160, 46, 143)
HSLhsl(309, 55%, 40%)
HSVhsv(309, 71%, 63%)
CMYKcmyk(0%, 71.2%, 10.6%, 37.3%)
CIE-LABlab(40.27, 56.99, -28.81)
CIE-LCHlch(40.27, 63.86, 333.19°)
OKLaboklab(50.92% 0.1658 -0.0787)
OKLCHoklch(50.92% 0.184 334.6)
XYZxyz(20.4323, 11.4125, 27.1080)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E8F #2EA03F
analogous
#782EA0 #A02E8F #A02E56
triadic
#A02E8F #8FA02E #2E8FA0
tetradic
#A02E8F #A0782E #2EA03F #2E56A0
square
#A02E8F #A0782E #2EA03F #2E56A0
split-complementary
#A02E8F #56A02E #2EA078
monochromatic
#41133A #702065 #A02E8F #C942B5 #D672C7

Accessibility & contrast

On white

6.40
#A02E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A02E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02E8F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E8F#FFFFFF#000000##FFFFFF
##A02E8F1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5492
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#A8375B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02e8f;
/* rgb */ color: rgb(160, 46, 143);
/* oklch */ color: oklch(50.9% 0.184 334.6);
Tailwind
colors: {
  custom: {
    50: '#bf71b0',
    500: '#a02e8f',
    950: '#000000',
  },
}
SCSS
$custom: #a02e8f;
$custom-light: #bf71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e8f",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 308.947,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50924,
    "c": 0.18351,
    "h": 334.6
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#A02E8F
secondary
#6CBE78
accent
#DF5F49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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