#A42BAE#A42BAE

#A42BAE is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.213 H 324.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A42BAE
RGBrgb(164, 43, 174)
HSLhsl(295, 60%, 43%)
HSVhsv(295, 75%, 68%)
CMYKcmyk(5.7%, 75.3%, 0%, 31.8%)
CIE-LABlab(42.27, 64.03, -44.22)
CIE-LCHlch(42.27, 77.81, 325.37°)
OKLaboklab(53.04% 0.1736 -0.1232)
OKLCHoklch(53.04% 0.213 324.6)
XYZxyz(23.8131, 12.6778, 41.2290)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BAE #35AE2B
analogous
#632BAE #A42BAE #AE2B76
triadic
#A42BAE #AEA42B #2BAEA4
tetradic
#A42BAE #AE632B #35AE2B #2B76AE
square
#A42BAE #AE632B #35AE2B #2B76AE
split-complementary
#A42BAE #76AE2B #2BAE63
monochromatic
#47134C #761F7D #A42BAE #C645D1 #D576DD

Accessibility & contrast

On white

5.94
#A42BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A42BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BAE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BAE#FFFFFF#000000##FFFFFF
##A42BAE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4669AB
Tritanopia (blue-blind)
#A7436B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42bae;
/* rgb */ color: rgb(164, 43, 174);
/* oklch */ color: oklch(53.0% 0.213 324.6);
Tailwind
colors: {
  custom: {
    50: '#c372c7',
    500: '#a42bae',
    950: '#000000',
  },
}
SCSS
$custom: #a42bae;
$custom-light: #c372c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bae",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 295.42,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.21291,
    "h": 324.6
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#A42BAE
secondary
#76C570
accent
#E44450
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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