#A42BB2#A42BB2

#A42BB2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.216 H 323.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A42BB2
RGBrgb(164, 43, 178)
HSLhsl(294, 61%, 43%)
HSVhsv(294, 76%, 70%)
CMYKcmyk(7.9%, 75.8%, 0%, 30.2%)
CIE-LABlab(42.52, 64.72, -46.20)
CIE-LCHlch(42.52, 79.52, 324.48°)
OKLaboklab(53.29% 0.1734 -0.129)
OKLCHoklch(53.29% 0.216 323.3)
XYZxyz(24.2089, 12.8361, 43.3133)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BB2 #39B22B
analogous
#602BB2 #A42BB2 #B22B7C
triadic
#A42BB2 #B2A42B #2BB2A4
tetradic
#A42BB2 #B2602B #39B22B #2B7CB2
square
#A42BB2 #B2602B #39B22B #2B7CB2
split-complementary
#A42BB2 #7CB22B #2BB260
monochromatic
#49134F #771F81 #A42BB2 #C448D3 #D479DF

Accessibility & contrast

On white

5.89
#A42BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A42BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BB2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BB2#FFFFFF#000000##FFFFFF
##A42BB21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#A7456D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42bb2;
/* rgb */ color: rgb(164, 43, 178);
/* oklch */ color: oklch(53.3% 0.216 323.3);
Tailwind
colors: {
  custom: {
    50: '#c372ca',
    500: '#a42bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a42bb2;
$custom-light: #c372ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bb2",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 293.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.21612,
    "h": 323.3
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#A42BB2
secondary
#7BC772
accent
#E44454
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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