#A42895#A42895

#A42895 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.197 H 333.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A42895
RGBrgb(164, 40, 149)
HSLhsl(307, 61%, 40%)
HSVhsv(307, 76%, 64%)
CMYKcmyk(0%, 75.6%, 9.1%, 35.7%)
CIE-LABlab(40.54, 60.90, -31.97)
CIE-LCHlch(40.54, 68.78, 332.30°)
OKLaboklab(51.35% 0.1763 -0.0877)
OKLCHoklch(51.35% 0.197 333.6)
XYZxyz(21.4936, 11.5819, 29.5315)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42895 #28A437
analogous
#7528A4 #A42895 #A42857
triadic
#A42895 #95A428 #2895A4
tetradic
#A42895 #A47528 #28A437 #2857A4
square
#A42895 #A47528 #28A437 #2857A4
split-complementary
#A42895 #57A428 #28A475
monochromatic
#42103C #731C68 #A42895 #CF3ABD #DB6BCD

Accessibility & contrast

On white

6.33
#A42895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A42895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42895
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42895#FFFFFF#000000##FFFFFF
##A428951.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#536692
Tritanopia (blue-blind)
#AC355C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42895;
/* rgb */ color: rgb(164, 40, 149);
/* oklch */ color: oklch(51.4% 0.197 333.6);
Tailwind
colors: {
  custom: {
    50: '#c370b4',
    500: '#a42895',
    950: '#000000',
  },
}
SCSS
$custom: #a42895;
$custom-light: #c370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42895",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 307.258,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.19692,
    "h": 333.6
  },
  "luminance": 0.1158
}

Semantic roles & 50–950 ramp

primary
#A42895
secondary
#66C171
accent
#E45744
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42895

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

Preview Lab → · Contrast checker → · Palette generator →

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