#A22BAC#A22BAC

#A22BAC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.210 H 324.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A22BAC
RGBrgb(162, 43, 172)
HSLhsl(295, 60%, 42%)
HSVhsv(295, 75%, 67%)
CMYKcmyk(5.8%, 75%, 0%, 32.5%)
CIE-LABlab(41.83, 63.26, -43.76)
CIE-LCHlch(41.83, 76.93, 325.33°)
OKLaboklab(52.62% 0.1715 -0.122)
OKLCHoklch(52.62% 0.21 324.6)
XYZxyz(23.2100, 12.3892, 40.1906)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BAC #35AC2B
analogous
#622BAC #A22BAC #AC2B76
triadic
#A22BAC #ACA22B #2BACA2
tetradic
#A22BAC #AC622B #35AC2B #2B76AC
square
#A22BAC #AC622B #35AC2B #2B76AC
split-complementary
#A22BAC #76AC2B #2BAC62
monochromatic
#46134A #741F7B #A22BAC #C544D0 #D475DC

Accessibility & contrast

On white

6.04
#A22BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A22BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BAC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BAC#FFFFFF#000000##FFFFFF
##A22BAC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4567A9
Tritanopia (blue-blind)
#A5426A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22bac;
/* rgb */ color: rgb(162, 43, 172);
/* oklch */ color: oklch(52.6% 0.210 324.6);
Tailwind
colors: {
  custom: {
    50: '#c171c5',
    500: '#a22bac',
    950: '#000000',
  },
}
SCSS
$custom: #a22bac;
$custom-light: #c171c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bac",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 295.349,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.21043,
    "h": 324.6
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#A22BAC
secondary
#75C46F
accent
#E34551
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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