#A42FB6#A42FB6

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

Color values

HEX#A42FB6
RGBrgb(164, 47, 182)
HSLhsl(292, 59%, 45%)
HSVhsv(292, 74%, 71%)
CMYKcmyk(9.9%, 74.2%, 0%, 28.6%)
CIE-LABlab(43.22, 64.12, -47.44)
CIE-LCHlch(43.22, 79.76, 323.51°)
OKLaboklab(53.87% 0.1695 -0.1327)
OKLCHoklch(53.87% 0.215 322)
XYZxyz(24.7690, 13.3043, 45.5102)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FB6 #41B62F
analogous
#612FB6 #A42FB6 #B62F85
triadic
#A42FB6 #B6A42F #2FB6A4
tetradic
#A42FB6 #B6612F #41B62F #2F85B6
square
#A42FB6 #B6612F #41B62F #2F85B6
split-complementary
#A42FB6 #85B62F #2FB661
monochromatic
#4C1655 #782285 #A42FB6 #C150D2 #D281DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42FB6#FFFFFF#000000##FFFFFF
##A42FB61.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)
#005EBA
Deuteranopia (green-blind)
#426AB3
Tritanopia (blue-blind)
#A64970
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42fb6;
/* rgb */ color: rgb(164, 47, 182);
/* oklch */ color: oklch(53.9% 0.215 322.0);
Tailwind
colors: {
  custom: {
    50: '#c374cc',
    500: '#a42fb6',
    950: '#000000',
  },
}
SCSS
$custom: #a42fb6;
$custom-light: #c374cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fb6",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 292,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.21526,
    "h": 322
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#A42FB6
secondary
#84C779
accent
#E2465B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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