#A42FB0#A42FB0

#A42FB0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.210 H 323.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A42FB0
RGBrgb(164, 47, 176)
HSLhsl(294, 58%, 44%)
HSVhsv(294, 73%, 69%)
CMYKcmyk(6.8%, 73.3%, 0%, 31%)
CIE-LABlab(42.86, 63.05, -44.47)
CIE-LCHlch(42.86, 77.16, 324.80°)
OKLaboklab(53.49% 0.1699 -0.124)
OKLCHoklch(53.49% 0.21 323.9)
XYZxyz(24.1621, 13.0616, 42.3144)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FB0 #3BB02F
analogous
#632FB0 #A42FB0 #B02F7B
triadic
#A42FB0 #B0A42F #2FB0A4
tetradic
#A42FB0 #B0632F #3BB02F #2F7BB0
square
#A42FB0 #B0632F #3BB02F #2F7BB0
split-complementary
#A42FB0 #7BB02F #2FB063
monochromatic
#4A154F #772280 #A42FB0 #C34DCF #D37DDC

Accessibility & contrast

On white

5.81
#A42FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A42FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FB0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FB0#FFFFFF#000000##FFFFFF
##A42FB01.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#A7466D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42fb0;
/* rgb */ color: rgb(164, 47, 176);
/* oklch */ color: oklch(53.5% 0.210 323.9);
Tailwind
colors: {
  custom: {
    50: '#c374c8',
    500: '#a42fb0',
    950: '#000000',
  },
}
SCSS
$custom: #a42fb0;
$custom-light: #c374c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fb0",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 294.419,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.21033,
    "h": 323.9
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#A42FB0
secondary
#7DC576
accent
#E14755
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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