#A42CBC#A42CBC

#A42CBC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.223 H 320.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A42CBC
RGBrgb(164, 44, 188)
HSLhsl(290, 62%, 45%)
HSVhsv(290, 77%, 74%)
CMYKcmyk(12.8%, 76.6%, 0%, 26.3%)
CIE-LABlab(43.25, 66.19, -50.91)
CIE-LCHlch(43.25, 83.50, 322.44°)
OKLaboklab(54.01% 0.1716 -0.1428)
OKLCHoklch(54.01% 0.223 320.2)
XYZxyz(25.2865, 13.3260, 48.8075)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CBC #44BC2C
analogous
#5C2CBC #A42CBC #BC2C8C
triadic
#A42CBC #BCA42C #2CBCA4
tetradic
#A42CBC #BC5C2C #44BC2C #2C8CBC
square
#A42CBC #BC5C2C #44BC2C #2C8CBC
split-complementary
#A42CBC #8CBC2C #2CBC5C
monochromatic
#4D1559 #79208A #A42CBC #BF4FD6 #D181E1

Accessibility & contrast

On white

5.73
#A42CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A42CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CBC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CBC#FFFFFF#000000##FFFFFF
##A42CBC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#A54A73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42cbc;
/* rgb */ color: rgb(164, 44, 188);
/* oklch */ color: oklch(54.0% 0.223 320.2);
Tailwind
colors: {
  custom: {
    50: '#c373d1',
    500: '#a42cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a42cbc;
$custom-light: #c373d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cbc",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 290,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.22326,
    "h": 320.2
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

primary
#A42CBC
secondary
#87CA79
accent
#E5435E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A42CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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