#A02895#A02895

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

Color values

HEX#A02895
RGBrgb(160, 40, 149)
HSLhsl(306, 60%, 39%)
HSVhsv(306, 75%, 63%)
CMYKcmyk(0%, 75%, 6.9%, 37.3%)
CIE-LABlab(39.85, 59.99, -33.11)
CIE-LCHlch(39.85, 68.51, 331.11°)
OKLaboklab(50.73% 0.1722 -0.0911)
OKLCHoklch(50.73% 0.195 332.1)
XYZxyz(20.6809, 11.1628, 29.4934)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02895 #28A033
analogous
#6F28A0 #A02895 #A02859
triadic
#A02895 #95A028 #2895A0
tetradic
#A02895 #A06F28 #28A033 #2859A0
square
#A02895 #A06F28 #28A033 #2859A0
split-complementary
#A02895 #59A028 #28A06F
monochromatic
#3E103A #6F1C67 #A02895 #CD38C0 #D969CF

Accessibility & contrast

On white

6.50
#A02895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A02895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02895
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02895#FFFFFF#000000##FFFFFF
##A028951.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A7365C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02895;
/* rgb */ color: rgb(160, 40, 149);
/* oklch */ color: oklch(50.7% 0.195 332.1);
Tailwind
colors: {
  custom: {
    50: '#c06fb4',
    500: '#a02895',
    950: '#000000',
  },
}
SCSS
$custom: #a02895;
$custom-light: #c06fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02895",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 305.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.19479,
    "h": 332.1
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#A02895
secondary
#64C06C
accent
#E35345
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02895

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

Preview Lab → · Contrast checker → · Palette generator →

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