#A42BC4#A42BC4

#A42BC4 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.231 H 318.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A42BC4
RGBrgb(164, 43, 196)
HSLhsl(287, 64%, 47%)
HSVhsv(287, 78%, 77%)
CMYKcmyk(16.3%, 78.1%, 0%, 23.1%)
CIE-LABlab(43.66, 67.97, -54.91)
CIE-LCHlch(43.66, 87.38, 321.06°)
OKLaboklab(54.47% 0.1714 -0.1545)
OKLCHoklch(54.47% 0.231 318)
XYZxyz(26.1361, 13.6070, 53.4636)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BC4 #4BC42B
analogous
#582BC4 #A42BC4 #C42B98
triadic
#A42BC4 #C4A42B #2BC4A4
tetradic
#A42BC4 #C4582B #4BC42B #2B98C4
square
#A42BC4 #C4582B #4BC42B #2B98C4
split-complementary
#A42BC4 #98C42B #2BC458
monochromatic
#501560 #7A2092 #A42BC4 #BD53D9 #D085E4

Accessibility & contrast

On white

5.64
#A42BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A42BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BC4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BC4#FFFFFF#000000##FFFFFF
##A42BC41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#A34D78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a42bc4;
/* rgb */ color: rgb(164, 43, 196);
/* oklch */ color: oklch(54.5% 0.231 318.0);
Tailwind
colors: {
  custom: {
    50: '#c373d7',
    500: '#a42bc4',
    950: '#000000',
  },
}
SCSS
$custom: #a42bc4;
$custom-light: #c373d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bc4",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 287.451,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.2308,
    "h": 318
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#A42BC4
secondary
#8ECE7D
accent
#E74164
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A42BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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