#A42B95#A42B95

#A42B95 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.194 H 333.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A42B95
RGBrgb(164, 43, 149)
HSLhsl(307, 58%, 41%)
HSVhsv(307, 74%, 64%)
CMYKcmyk(0%, 73.8%, 9.1%, 35.7%)
CIE-LABlab(40.88, 59.93, -31.44)
CIE-LCHlch(40.88, 67.67, 332.32°)
OKLaboklab(51.6% 0.1735 -0.0862)
OKLCHoklch(51.6% 0.194 333.6)
XYZxyz(21.5987, 11.7920, 29.5665)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B95 #2BA43A
analogous
#762BA4 #A42B95 #A42B58
triadic
#A42B95 #95A42B #2B95A4
tetradic
#A42B95 #A4762B #2BA43A #2B58A4
square
#A42B95 #A4762B #2BA43A #2B58A4
split-complementary
#A42B95 #58A42B #2BA476
monochromatic
#43123D #741E69 #A42B95 #CD3FBB #D970CC

Accessibility & contrast

On white

6.25
#A42B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A42B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B95
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B95#FFFFFF#000000##FFFFFF
##A42B951.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#546792
Tritanopia (blue-blind)
#AC375D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42b95;
/* rgb */ color: rgb(164, 43, 149);
/* oklch */ color: oklch(51.6% 0.194 333.6);
Tailwind
colors: {
  custom: {
    50: '#c371b4',
    500: '#a42b95',
    950: '#000000',
  },
}
SCSS
$custom: #a42b95;
$custom-light: #c371b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b95",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 307.438,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.1937,
    "h": 333.6
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#A42B95
secondary
#6AC175
accent
#E25946
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42B95

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

Preview Lab → · Contrast checker → · Palette generator →

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