#A42B9D#A42B9D

#A42B9D is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.200 H 330.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A42B9D
RGBrgb(164, 43, 157)
HSLhsl(303, 58%, 41%)
HSVhsv(303, 74%, 64%)
CMYKcmyk(0%, 73.8%, 4.3%, 35.7%)
CIE-LABlab(41.31, 61.19, -35.60)
CIE-LCHlch(41.31, 70.80, 329.81°)
OKLaboklab(52.04% 0.1739 -0.0982)
OKLCHoklch(52.04% 0.2 330.5)
XYZxyz(22.2595, 12.0563, 33.0465)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42B9D #2BA432
analogous
#6E2BA4 #A42B9D #A42B60
triadic
#A42B9D #9DA42B #2B9DA4
tetradic
#A42B9D #A46E2B #2BA432 #2B60A4
square
#A42B9D #A46E2B #2BA432 #2B60A4
split-complementary
#A42B9D #60A42B #2BA46E
monochromatic
#431240 #741E6F #A42B9D #CD3FC5 #D970D3

Accessibility & contrast

On white

6.16
#A42B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A42B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42B9D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42B9D#FFFFFF#000000##FFFFFF
##A42B9D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AA3B62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42b9d;
/* rgb */ color: rgb(164, 43, 157);
/* oklch */ color: oklch(52.0% 0.200 330.5);
Tailwind
colors: {
  custom: {
    50: '#c371ba',
    500: '#a42b9d',
    950: '#000000',
  },
}
SCSS
$custom: #a42b9d;
$custom-light: #c371ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a42b9d",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 303.471,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52037,
    "c": 0.19966,
    "h": 330.5
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#A42B9D
secondary
#6AC16F
accent
#E24F46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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