#A42BBC#A42BBC

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

Color values

HEX#A42BBC
RGBrgb(164, 43, 188)
HSLhsl(290, 63%, 45%)
HSVhsv(290, 77%, 74%)
CMYKcmyk(12.8%, 77.1%, 0%, 26.3%)
CIE-LABlab(43.14, 66.50, -51.08)
CIE-LCHlch(43.14, 83.86, 322.47°)
OKLaboklab(53.93% 0.1725 -0.1433)
OKLCHoklch(53.93% 0.224 320.3)
XYZxyz(25.2497, 13.2524, 48.7952)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BBC #43BC2B
analogous
#5B2BBC #A42BBC #BC2B8B
triadic
#A42BBC #BCA42B #2BBCA4
tetradic
#A42BBC #BC5B2B #43BC2B #2B8BBC
square
#A42BBC #BC5B2B #43BC2B #2B8BBC
split-complementary
#A42BBC #8BBC2B #2BBC5B
monochromatic
#4D1458 #79208A #A42BBC #C04ED6 #D280E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42BBC#FFFFFF#000000##FFFFFF
##A42BBC1.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)
#005EC0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#A54A73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42bbc;
/* rgb */ color: rgb(164, 43, 188);
/* oklch */ color: oklch(53.9% 0.224 320.3);
Tailwind
colors: {
  custom: {
    50: '#c372d1',
    500: '#a42bbc',
    950: '#000000',
  },
}
SCSS
$custom: #a42bbc;
$custom-light: #c372d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bbc",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 290.069,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53934,
    "c": 0.22422,
    "h": 320.3
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#A42BBC
secondary
#86CB78
accent
#E6425D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A42BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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