#A42BAC#A42BAC

#A42BAC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.211 H 325.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A42BAC
RGBrgb(164, 43, 172)
HSLhsl(296, 60%, 42%)
HSVhsv(296, 75%, 67%)
CMYKcmyk(4.7%, 75%, 0%, 32.5%)
CIE-LABlab(42.15, 63.68, -43.22)
CIE-LCHlch(42.15, 76.97, 325.83°)
OKLaboklab(52.92% 0.1737 -0.1203)
OKLCHoklch(52.92% 0.211 325.3)
XYZxyz(23.6196, 12.6004, 40.2098)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42BAC #33AC2B
analogous
#642BAC #A42BAC #AC2B74
triadic
#A42BAC #ACA42B #2BACA4
tetradic
#A42BAC #AC642B #33AC2B #2B74AC
square
#A42BAC #AC642B #33AC2B #2B74AC
split-complementary
#A42BAC #74AC2B #2BAC64
monochromatic
#47134A #751F7B #A42BAC #C844D0 #D675DC

Accessibility & contrast

On white

5.97
#A42BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A42BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42BAC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42BAC#FFFFFF#000000##FFFFFF
##A42BAC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4768A9
Tritanopia (blue-blind)
#A8426A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42bac;
/* rgb */ color: rgb(164, 43, 172);
/* oklch */ color: oklch(52.9% 0.211 325.3);
Tailwind
colors: {
  custom: {
    50: '#c372c5',
    500: '#a42bac',
    950: '#000000',
  },
}
SCSS
$custom: #a42bac;
$custom-light: #c372c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42bac",
  "rgb": {
    "r": 164,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 296.279,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.21132,
    "h": 325.3
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#A42BAC
secondary
#74C46F
accent
#E3454E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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