#A42BB0#A42BB0

#A42BB0 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.215 H 324.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A42BB0
RGBrgb(164, 43, 176)
HSLhsl(295, 61%, 43%)
HSVhsv(295, 76%, 69%)
CMYKcmyk(6.8%, 75.6%, 0%, 31%)
CIE-LABlab(42.39, 64.37, -45.21)
CIE-LCHlch(42.39, 78.66, 324.92°)
OKLaboklab(53.16% 0.1735 -0.1261)
OKLCHoklch(53.16% 0.215 324)
XYZxyz(24.0095, 12.7564, 42.2635)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BB0 #37B02B
analogous
#612BB0 #A42BB0 #B02B7A
triadic
#A42BB0 #B0A42B #2BB0A4
tetradic
#A42BB0 #B0612B #37B02B #2B7AB0
square
#A42BB0 #B0612B #37B02B #2B7AB0
split-complementary
#A42BB0 #7AB02B #2BB061
monochromatic
#48134E #761F7F #A42BB0 #C546D2 #D578DE

Accessibility & contrast

On white

5.91
#A42BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A42BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BB0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BB0#FFFFFF#000000##FFFFFF
##A42BB01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#A7446C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42bb0;
/* rgb */ color: rgb(164, 43, 176);
/* oklch */ color: oklch(53.2% 0.215 324.0);
Tailwind
colors: {
  custom: {
    50: '#c372c8',
    500: '#a42bb0',
    950: '#000000',
  },
}
SCSS
$custom: #a42bb0;
$custom-light: #c372c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bb0",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 294.586,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53165,
    "c": 0.21452,
    "h": 324
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#A42BB0
secondary
#79C671
accent
#E44452
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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