#A42493#A42493

#A42493 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.199 H 334.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A42493
RGBrgb(164, 36, 147)
HSLhsl(308, 64%, 39%)
HSVhsv(308, 78%, 64%)
CMYKcmyk(0%, 78%, 10.4%, 35.7%)
CIE-LABlab(40.02, 61.80, -31.58)
CIE-LCHlch(40.02, 69.40, 332.93°)
OKLaboklab(50.94% 0.1798 -0.0865)
OKLCHoklch(50.94% 0.199 334.3)
XYZxyz(21.2074, 11.2627, 28.6551)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42493 #24A435
analogous
#7524A4 #A42493 #A42453
triadic
#A42493 #93A424 #2493A4
tetradic
#A42493 #A47524 #24A435 #2453A4
square
#A42493 #A47524 #24A435 #2453A4
split-complementary
#A42493 #53A424 #24A475
monochromatic
#400E39 #721966 #A42493 #D233BD #DD65CD

Accessibility & contrast

On white

6.46
#A42493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A42493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42493
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42493#FFFFFF#000000##FFFFFF
##A424931.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215296
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#AC315A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42493;
/* rgb */ color: rgb(164, 36, 147);
/* oklch */ color: oklch(50.9% 0.199 334.3);
Tailwind
colors: {
  custom: {
    50: '#c36eb3',
    500: '#a42493',
    950: '#000000',
  },
}
SCSS
$custom: #a42493;
$custom-light: #c36eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42493",
  "rgb": {
    "r": 164,
    "g": 36,
    "b": 147
  },
  "hsl": {
    "h": 307.969,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.19949,
    "h": 334.3
  },
  "luminance": 0.11261
}

Semantic roles & 50–950 ramp

primary
#A42493
secondary
#61C36E
accent
#E75741
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42493

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

Preview Lab → · Contrast checker → · Palette generator →

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