#A42B94#A42B94

#A42B94 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.193 H 334.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A42B94
RGBrgb(164, 43, 148)
HSLhsl(308, 58%, 41%)
HSVhsv(308, 74%, 64%)
CMYKcmyk(0%, 73.8%, 9.8%, 35.7%)
CIE-LABlab(40.83, 59.77, -30.91)
CIE-LCHlch(40.83, 67.29, 332.66°)
OKLaboklab(51.54% 0.1734 -0.0846)
OKLCHoklch(51.54% 0.193 334)
XYZxyz(21.5192, 11.7602, 29.1478)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B94 #2BA43B
analogous
#772BA4 #A42B94 #A42B57
triadic
#A42B94 #94A42B #2B94A4
tetradic
#A42B94 #A4772B #2BA43B #2B57A4
square
#A42B94 #A4772B #2BA43B #2B57A4
split-complementary
#A42B94 #57A42B #2BA477
monochromatic
#43123C #741E68 #A42B94 #CD3FBA #D970CC

Accessibility & contrast

On white

6.27
#A42B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A42B94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B94
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B94#FFFFFF#000000##FFFFFF
##A42B941.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285597
Deuteranopia (green-blind)
#546791
Tritanopia (blue-blind)
#AC365D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42b94;
/* rgb */ color: rgb(164, 43, 148);
/* oklch */ color: oklch(51.5% 0.193 334.0);
Tailwind
colors: {
  custom: {
    50: '#c371b4',
    500: '#a42b94',
    950: '#000000',
  },
}
SCSS
$custom: #a42b94;
$custom-light: #c371b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b94",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 307.934,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51544,
    "c": 0.19297,
    "h": 334
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#A42B94
secondary
#6AC176
accent
#E25B46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B94

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

Preview Lab → · Contrast checker → · Palette generator →

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