#A42995#A42995

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

Color values

HEX#A42995
RGBrgb(164, 41, 149)
HSLhsl(307, 60%, 40%)
HSVhsv(307, 75%, 64%)
CMYKcmyk(0%, 75%, 9.1%, 35.7%)
CIE-LABlab(40.65, 60.58, -31.80)
CIE-LCHlch(40.65, 68.42, 332.31°)
OKLaboklab(51.43% 0.1754 -0.0872)
OKLCHoklch(51.43% 0.196 333.6)
XYZxyz(21.5278, 11.6502, 29.5428)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42995 #29A438
analogous
#7529A4 #A42995 #A42957
triadic
#A42995 #95A429 #2995A4
tetradic
#A42995 #A47529 #29A438 #2957A4
square
#A42995 #A47529 #29A438 #2957A4
split-complementary
#A42995 #57A429 #29A475
monochromatic
#42113C #731D69 #A42995 #CE3CBC #DA6DCD

Accessibility & contrast

On white

6.31
#A42995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A42995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42995
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42995#FFFFFF#000000##FFFFFF
##A429951.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42995;
/* rgb */ color: rgb(164, 41, 149);
/* oklch */ color: oklch(51.4% 0.196 333.6);
Tailwind
colors: {
  custom: {
    50: '#c370b4',
    500: '#a42995',
    950: '#000000',
  },
}
SCSS
$custom: #a42995;
$custom-light: #c370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42995",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 307.317,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.19587,
    "h": 333.6
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#A42995
secondary
#68C173
accent
#E35845
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42995

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

Preview Lab → · Contrast checker → · Palette generator →

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