#A42EB7#A42EB7

#A42EB7 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.217 H 321.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A42EB7
RGBrgb(164, 46, 183)
HSLhsl(292, 60%, 45%)
HSVhsv(292, 75%, 72%)
CMYKcmyk(10.4%, 74.9%, 0%, 28.2%)
CIE-LABlab(43.16, 64.63, -48.11)
CIE-LCHlch(43.16, 80.58, 323.34°)
OKLaboklab(53.85% 0.1704 -0.1346)
OKLCHoklch(53.85% 0.217 321.7)
XYZxyz(24.8331, 13.2668, 46.0433)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EB7 #41B72E
analogous
#602EB7 #A42EB7 #B72E85
triadic
#A42EB7 #B7A42E #2EB7A4
tetradic
#A42EB7 #B7602E #41B72E #2E85B7
square
#A42EB7 #B7602E #41B72E #2E85B7
split-complementary
#A42EB7 #85B72E #2EB760
monochromatic
#4C1555 #782286 #A42EB7 #C14FD3 #D280DF

Accessibility & contrast

On white

5.75
#A42EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A42EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42EB7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EB7#FFFFFF#000000##FFFFFF
##A42EB71.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#406AB4
Tritanopia (blue-blind)
#A64971
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42eb7;
/* rgb */ color: rgb(164, 46, 183);
/* oklch */ color: oklch(53.8% 0.217 321.7);
Tailwind
colors: {
  custom: {
    50: '#c373cd',
    500: '#a42eb7',
    950: '#000000',
  },
}
SCSS
$custom: #a42eb7;
$custom-light: #c373cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a42eb7",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 291.679,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.21713,
    "h": 321.7
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#A42EB7
secondary
#84C879
accent
#E3455B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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