#A42495#A42495

#A42495 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.201 H 333.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A42495
RGBrgb(164, 36, 149)
HSLhsl(307, 64%, 39%)
HSVhsv(307, 78%, 64%)
CMYKcmyk(0%, 78%, 9.1%, 35.7%)
CIE-LABlab(40.12, 62.10, -32.63)
CIE-LCHlch(40.12, 70.15, 332.28°)
OKLaboklab(51.05% 0.1799 -0.0896)
OKLCHoklch(51.05% 0.201 333.5)
XYZxyz(21.3657, 11.3261, 29.4888)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42495 #24A433
analogous
#7324A4 #A42495 #A42455
triadic
#A42495 #95A424 #2495A4
tetradic
#A42495 #A47324 #24A433 #2455A4
square
#A42495 #A47324 #24A433 #2455A4
split-complementary
#A42495 #55A424 #24A473
monochromatic
#400E3A #721967 #A42495 #D233C0 #DD65CF

Accessibility & contrast

On white

6.43
#A42495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A42495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42495
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42495#FFFFFF#000000##FFFFFF
##A424951.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5398
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#AC325B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42495;
/* rgb */ color: rgb(164, 36, 149);
/* oklch */ color: oklch(51.1% 0.201 333.5);
Tailwind
colors: {
  custom: {
    50: '#c36eb4',
    500: '#a42495',
    950: '#000000',
  },
}
SCSS
$custom: #a42495;
$custom-light: #c36eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42495",
  "rgb": {
    "r": 164,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 307.031,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51052,
    "c": 0.20092,
    "h": 333.5
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#A42495
secondary
#61C36C
accent
#E75441
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42495

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

Preview Lab → · Contrast checker → · Palette generator →

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