#A420BC#A420BC

#A420BC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.2% C 0.234 H 320.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A420BC
RGBrgb(164, 32, 188)
HSLhsl(291, 71%, 43%)
HSVhsv(291, 83%, 74%)
CMYKcmyk(12.8%, 83%, 0%, 26.3%)
CIE-LABlab(42.09, 69.56, -52.78)
CIE-LCHlch(42.09, 87.31, 322.81°)
OKLaboklab(53.19% 0.1805 -0.1482)
OKLCHoklch(53.19% 0.234 320.6)
XYZxyz(24.9024, 12.5578, 48.6794)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A420BC #38BC20
analogous
#5620BC #A420BC #BC2086
triadic
#A420BC #BCA420 #20BCA4
tetradic
#A420BC #BC5620 #38BC20 #2086BC
square
#A420BC #BC5620 #38BC20 #2086BC
split-complementary
#A420BC #86BC20 #20BC56
monochromatic
#490E53 #761788 #A420BC #C53BDE #D470E7

Accessibility & contrast

On white

5.98
#A420BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A420BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A420BC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A420BC#FFFFFF#000000##FFFFFF
##A420BC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#A54471
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a420bc;
/* rgb */ color: rgb(164, 32, 188);
/* oklch */ color: oklch(53.2% 0.234 320.6);
Tailwind
colors: {
  custom: {
    50: '#c46ed1',
    500: '#a420bc',
    950: '#000000',
  },
}
SCSS
$custom: #a420bc;
$custom-light: #c46ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#a420bc",
  "rgb": {
    "r": 164,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 290.769,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.23358,
    "h": 320.6
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#A420BC
secondary
#7ACD6B
accent
#EE3A56
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #A420BC

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

Preview Lab → · Contrast checker → · Palette generator →

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