#A42CB8#A42CB8

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

Color values

HEX#A42CB8
RGBrgb(164, 44, 184)
HSLhsl(291, 61%, 45%)
HSVhsv(291, 76%, 72%)
CMYKcmyk(10.9%, 76.1%, 0%, 27.8%)
CIE-LABlab(43.00, 65.47, -48.97)
CIE-LCHlch(43.00, 81.75, 323.21°)
OKLaboklab(53.75% 0.172 -0.1371)
OKLCHoklch(53.75% 0.22 321.4)
XYZxyz(24.8613, 13.1560, 46.5679)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CB8 #40B82C
analogous
#5E2CB8 #A42CB8 #B82C86
triadic
#A42CB8 #B8A42C #2CB8A4
tetradic
#A42CB8 #B85E2C #40B82C #2C86B8
square
#A42CB8 #B85E2C #40B82C #2C86B8
split-complementary
#A42CB8 #86B82C #2CB85E
monochromatic
#4C1455 #782087 #A42CB8 #C14DD4 #D27EE0

Accessibility & contrast

On white

5.78
#A42CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A42CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CB8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CB8#FFFFFF#000000##FFFFFF
##A42CB81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3E6AB5
Tritanopia (blue-blind)
#A54871
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42cb8;
/* rgb */ color: rgb(164, 44, 184);
/* oklch */ color: oklch(53.8% 0.220 321.4);
Tailwind
colors: {
  custom: {
    50: '#c373ce',
    500: '#a42cb8',
    950: '#000000',
  },
}
SCSS
$custom: #a42cb8;
$custom-light: #c373ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cb8",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 291.429,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53751,
    "c": 0.21998,
    "h": 321.4
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#A42CB8
secondary
#83C977
accent
#E5435A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A42CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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