#A02F96#A02F96

#A02F96 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.188 H 331.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A02F96
RGBrgb(160, 47, 150)
HSLhsl(305, 55%, 41%)
HSVhsv(305, 71%, 63%)
CMYKcmyk(0%, 70.6%, 6.2%, 37.3%)
CIE-LABlab(40.75, 57.74, -32.30)
CIE-LCHlch(40.75, 66.16, 330.78°)
OKLaboklab(51.39% 0.1653 -0.0888)
OKLCHoklch(51.39% 0.188 331.8)
XYZxyz(21.0187, 11.7103, 30.0015)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02F96 #2FA039
analogous
#712FA0 #A02F96 #A02F5D
triadic
#A02F96 #96A02F #2F96A0
tetradic
#A02F96 #A0712F #2FA039 #2F5DA0
square
#A02F96 #A0712F #2FA039 #2F5DA0
split-complementary
#A02F96 #5DA02F #2FA071
monochromatic
#41133D #71216A #A02F96 #C844BC #D673CD

Accessibility & contrast

On white

6.28
#A02F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A02F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02F96
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02F96#FFFFFF#000000##FFFFFF
##A02F961.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#526693
Tritanopia (blue-blind)
#A73B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a02f96;
/* rgb */ color: rgb(160, 47, 150);
/* oklch */ color: oklch(51.4% 0.188 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf72b5',
    500: '#a02f96',
    950: '#000000',
  },
}
SCSS
$custom: #a02f96;
$custom-light: #bf72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a02f96",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 305.31,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.1876,
    "h": 331.8
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#A02F96
secondary
#6DBE74
accent
#DE574A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A02F96

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

Preview Lab → · Contrast checker → · Palette generator →

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