#A42EB6#A42EB6

#A42EB6 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.216 H 322.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A42EB6
RGBrgb(164, 46, 182)
HSLhsl(292, 60%, 45%)
HSVhsv(292, 75%, 71%)
CMYKcmyk(9.9%, 74.7%, 0%, 28.6%)
CIE-LABlab(43.10, 64.45, -47.62)
CIE-LCHlch(43.10, 80.14, 323.54°)
OKLaboklab(53.79% 0.1704 -0.1332)
OKLCHoklch(53.79% 0.216 322)
XYZxyz(24.7294, 13.2253, 45.4971)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EB6 #40B62E
analogous
#602EB6 #A42EB6 #B62E84
triadic
#A42EB6 #B6A42E #2EB6A4
tetradic
#A42EB6 #B6602E #40B62E #2E84B6
square
#A42EB6 #B6602E #40B62E #2E84B6
split-complementary
#A42EB6 #84B62E #2EB660
monochromatic
#4C1554 #782285 #A42EB6 #C14FD2 #D280DF

Accessibility & contrast

On white

5.76
#A42EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A42EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42EB6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EB6#FFFFFF#000000##FFFFFF
##A42EB61.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#416AB3
Tritanopia (blue-blind)
#A64870
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42eb6;
/* rgb */ color: rgb(164, 46, 182);
/* oklch */ color: oklch(53.8% 0.216 322.0);
Tailwind
colors: {
  custom: {
    50: '#c373cc',
    500: '#a42eb6',
    950: '#000000',
  },
}
SCSS
$custom: #a42eb6;
$custom-light: #c373cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42eb6",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 292.059,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.21631,
    "h": 322
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#A42EB6
secondary
#83C878
accent
#E3455A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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