#A42DB7#A42DB7

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

Color values

HEX#A42DB7
RGBrgb(164, 45, 183)
HSLhsl(292, 61%, 45%)
HSVhsv(292, 75%, 72%)
CMYKcmyk(10.4%, 75.4%, 0%, 28.2%)
CIE-LABlab(43.05, 64.96, -48.30)
CIE-LCHlch(43.05, 80.95, 323.37°)
OKLaboklab(53.77% 0.1712 -0.1352)
OKLCHoklch(53.77% 0.218 321.7)
XYZxyz(24.7945, 13.1896, 46.0304)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DB7 #40B72D
analogous
#5F2DB7 #A42DB7 #B72D85
triadic
#A42DB7 #B7A42D #2DB7A4
tetradic
#A42DB7 #B75F2D #40B72D #2D85B7
square
#A42DB7 #B75F2D #40B72D #2D85B7
split-complementary
#A42DB7 #85B72D #2DB75F
monochromatic
#4C1555 #782186 #A42DB7 #C14ED3 #D27FDF

Accessibility & contrast

On white

5.77
#A42DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42DB7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DB7#FFFFFF#000000##FFFFFF
##A42DB71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42db7;
/* rgb */ color: rgb(164, 45, 183);
/* oklch */ color: oklch(53.8% 0.218 321.7);
Tailwind
colors: {
  custom: {
    50: '#c373cd',
    500: '#a42db7',
    950: '#000000',
  },
}
SCSS
$custom: #a42db7;
$custom-light: #c373cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a42db7",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 291.739,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.21816,
    "h": 321.7
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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