#A42BB4#A42BB4

#A42BB4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.218 H 322.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A42BB4
RGBrgb(164, 43, 180)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 76%, 71%)
CMYKcmyk(8.9%, 76.1%, 0%, 29.4%)
CIE-LABlab(42.64, 65.07, -47.19)
CIE-LCHlch(42.64, 80.38, 324.05°)
OKLaboklab(53.42% 0.1732 -0.1319)
OKLCHoklch(53.42% 0.218 322.7)
XYZxyz(24.4111, 12.9170, 44.3786)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BB4 #3BB42B
analogous
#5F2BB4 #A42BB4 #B42B7F
triadic
#A42BB4 #B4A42B #2BB4A4
tetradic
#A42BB4 #B45F2B #3BB42B #2B7FB4
square
#A42BB4 #B45F2B #3BB42B #2B7FB4
split-complementary
#A42BB4 #7FB42B #2BB45F
monochromatic
#4A1351 #771F83 #A42BB4 #C349D3 #D37ADF

Accessibility & contrast

On white

5.86
#A42BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A42BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BB4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BB4#FFFFFF#000000##FFFFFF
##A42BB41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#4169B1
Tritanopia (blue-blind)
#A6466E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42bb4;
/* rgb */ color: rgb(164, 43, 180);
/* oklch */ color: oklch(53.4% 0.218 322.7);
Tailwind
colors: {
  custom: {
    50: '#c372cb',
    500: '#a42bb4',
    950: '#000000',
  },
}
SCSS
$custom: #a42bb4;
$custom-light: #c372cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bb4",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 292.993,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.21773,
    "h": 322.7
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#A42BB4
secondary
#7DC773
accent
#E54356
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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