#A42FB5#A42FB5

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

Color values

HEX#A42FB5
RGBrgb(164, 47, 181)
HSLhsl(292, 59%, 45%)
HSVhsv(292, 74%, 71%)
CMYKcmyk(9.4%, 74%, 0%, 29%)
CIE-LABlab(43.16, 63.94, -46.94)
CIE-LCHlch(43.16, 79.32, 323.71°)
OKLaboklab(53.81% 0.1696 -0.1312)
OKLCHoklch(53.81% 0.214 322.3)
XYZxyz(24.6660, 13.2632, 44.9679)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FB5 #40B52F
analogous
#612FB5 #A42FB5 #B52F83
triadic
#A42FB5 #B5A42F #2FB5A4
tetradic
#A42FB5 #B5612F #40B52F #2F83B5
square
#A42FB5 #B5612F #40B52F #2F83B5
split-complementary
#A42FB5 #83B52F #2FB561
monochromatic
#4C1654 #782284 #A42FB5 #C150D1 #D280DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42FB5#FFFFFF#000000##FFFFFF
##A42FB51.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)
#005EB9
Deuteranopia (green-blind)
#436AB2
Tritanopia (blue-blind)
#A64870
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42fb5;
/* rgb */ color: rgb(164, 47, 181);
/* oklch */ color: oklch(53.8% 0.214 322.3);
Tailwind
colors: {
  custom: {
    50: '#c374cc',
    500: '#a42fb5',
    950: '#000000',
  },
}
SCSS
$custom: #a42fb5;
$custom-light: #c374cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fb5",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 292.388,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.21443,
    "h": 322.3
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#A42FB5
secondary
#83C779
accent
#E2465A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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