#A42EB8#A42EB8

#A42EB8 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.218 H 321.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A42EB8
RGBrgb(164, 46, 184)
HSLhsl(291, 60%, 45%)
HSVhsv(291, 75%, 72%)
CMYKcmyk(10.9%, 75%, 0%, 27.8%)
CIE-LABlab(43.22, 64.81, -48.60)
CIE-LCHlch(43.22, 81.01, 323.13°)
OKLaboklab(53.91% 0.1703 -0.1361)
OKLCHoklch(53.91% 0.218 321.4)
XYZxyz(24.9376, 13.3086, 46.5934)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EB8 #42B82E
analogous
#5F2EB8 #A42EB8 #B82E87
triadic
#A42EB8 #B8A42E #2EB8A4
tetradic
#A42EB8 #B85F2E #42B82E #2E87B8
square
#A42EB8 #B85F2E #42B82E #2E87B8
split-complementary
#A42EB8 #87B82E #2EB85F
monochromatic
#4D1656 #782287 #A42EB8 #C050D3 #D281DF

Accessibility & contrast

On white

5.74
#A42EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A42EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42EB8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EB8#FFFFFF#000000##FFFFFF
##A42EB81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#406AB5
Tritanopia (blue-blind)
#A54971
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42eb8;
/* rgb */ color: rgb(164, 46, 184);
/* oklch */ color: oklch(53.9% 0.218 321.4);
Tailwind
colors: {
  custom: {
    50: '#c373ce',
    500: '#a42eb8',
    950: '#000000',
  },
}
SCSS
$custom: #a42eb8;
$custom-light: #c373ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a42eb8",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 291.304,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53912,
    "c": 0.21796,
    "h": 321.4
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#A42EB8
secondary
#85C879
accent
#E3455C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A42EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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