#A42795#A42795

#A42795 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.198 H 333.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A42795
RGBrgb(164, 39, 149)
HSLhsl(307, 62%, 40%)
HSVhsv(307, 76%, 64%)
CMYKcmyk(0%, 76.2%, 9.1%, 35.7%)
CIE-LABlab(40.44, 61.21, -32.14)
CIE-LCHlch(40.44, 69.14, 332.29°)
OKLaboklab(51.28% 0.1772 -0.0882)
OKLCHoklch(51.28% 0.198 333.6)
XYZxyz(21.4603, 11.5153, 29.5204)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42795 #27A436
analogous
#7527A4 #A42795 #A42757
triadic
#A42795 #95A427 #2795A4
tetradic
#A42795 #A47527 #27A436 #2757A4
square
#A42795 #A47527 #27A436 #2757A4
split-complementary
#A42795 #57A427 #27A475
monochromatic
#410F3B #731B68 #A42795 #D038BE #DC6ACE

Accessibility & contrast

On white

6.36
#A42795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A42795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42795
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42795#FFFFFF#000000##FFFFFF
##A427951.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#526692
Tritanopia (blue-blind)
#AC345C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42795;
/* rgb */ color: rgb(164, 39, 149);
/* oklch */ color: oklch(51.3% 0.198 333.6);
Tailwind
colors: {
  custom: {
    50: '#c36fb4',
    500: '#a42795',
    950: '#000000',
  },
}
SCSS
$custom: #a42795;
$custom-light: #c36fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42795",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 307.2,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.19795,
    "h": 333.6
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#A42795
secondary
#65C270
accent
#E55743
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42795

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

Preview Lab → · Contrast checker → · Palette generator →

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