#A42CB1#A42CB1

#A42CB1 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.214 H 323.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A42CB1
RGBrgb(164, 44, 177)
HSLhsl(294, 60%, 43%)
HSVhsv(294, 75%, 69%)
CMYKcmyk(7.3%, 75.1%, 0%, 30.6%)
CIE-LABlab(42.57, 64.23, -45.53)
CIE-LCHlch(42.57, 78.73, 324.67°)
OKLaboklab(53.31% 0.1726 -0.1271)
OKLCHoklch(53.31% 0.214 323.6)
XYZxyz(24.1456, 12.8697, 42.7988)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CB1 #39B12C
analogous
#612CB1 #A42CB1 #B12C7B
triadic
#A42CB1 #B1A42C #2CB1A4
tetradic
#A42CB1 #B1612C #39B12C #2C7BB1
square
#A42CB1 #B1612C #39B12C #2C7BB1
split-complementary
#A42CB1 #7BB12C #2CB161
monochromatic
#49144F #772080 #A42CB1 #C449D2 #D47ADE

Accessibility & contrast

On white

5.88
#A42CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A42CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CB1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CB1#FFFFFF#000000##FFFFFF
##A42CB11.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4469AE
Tritanopia (blue-blind)
#A7456D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42cb1;
/* rgb */ color: rgb(164, 44, 177);
/* oklch */ color: oklch(53.3% 0.214 323.6);
Tailwind
colors: {
  custom: {
    50: '#c372c9',
    500: '#a42cb1',
    950: '#000000',
  },
}
SCSS
$custom: #a42cb1;
$custom-light: #c372c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cb1",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 294.135,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.2143,
    "h": 323.6
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#A42CB1
secondary
#7BC673
accent
#E34454
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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