#A42CB4#A42CB4

#A42CB4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.217 H 322.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A42CB4
RGBrgb(164, 44, 180)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 76%, 71%)
CMYKcmyk(8.9%, 75.6%, 0%, 29.4%)
CIE-LABlab(42.75, 64.75, -47.01)
CIE-LCHlch(42.75, 80.02, 324.02°)
OKLaboklab(53.5% 0.1724 -0.1314)
OKLCHoklch(53.5% 0.217 322.7)
XYZxyz(24.4479, 12.9906, 44.3909)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CB4 #3CB42C
analogous
#602CB4 #A42CB4 #B42C80
triadic
#A42CB4 #B4A42C #2CB4A4
tetradic
#A42CB4 #B4602C #3CB42C #2C80B4
square
#A42CB4 #B4602C #3CB42C #2C80B4
split-complementary
#A42CB4 #80B42C #2CB460
monochromatic
#4A1452 #772083 #A42CB4 #C34AD3 #D37CDF

Accessibility & contrast

On white

5.84
#A42CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A42CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CB4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CB4#FFFFFF#000000##FFFFFF
##A42CB41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42cb4;
/* rgb */ color: rgb(164, 44, 180);
/* oklch */ color: oklch(53.5% 0.217 322.7);
Tailwind
colors: {
  custom: {
    50: '#c372cb',
    500: '#a42cb4',
    950: '#000000',
  },
}
SCSS
$custom: #a42cb4;
$custom-light: #c372cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cb4",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 292.941,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.21673,
    "h": 322.7
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#A42CB4
secondary
#7EC775
accent
#E44457
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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