#A22BAF#A22BAF

#A22BAF is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.213 H 323.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A22BAF
RGBrgb(162, 43, 175)
HSLhsl(294, 61%, 43%)
HSVhsv(294, 75%, 69%)
CMYKcmyk(7.4%, 75.4%, 0%, 31.4%)
CIE-LABlab(42.01, 63.79, -45.25)
CIE-LCHlch(42.01, 78.21, 324.65°)
OKLaboklab(52.81% 0.1713 -0.1263)
OKLCHoklch(52.81% 0.213 323.6)
XYZxyz(23.5013, 12.5057, 41.7251)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BAF #38AF2B
analogous
#602BAF #A22BAF #AF2B7A
triadic
#A22BAF #AFA22B #2BAFA2
tetradic
#A22BAF #AF602B #38AF2B #2B7AAF
square
#A22BAF #AF602B #38AF2B #2B7AAF
split-complementary
#A22BAF #7AAF2B #2BAF60
monochromatic
#47134D #751F7E #A22BAF #C446D1 #D377DE

Accessibility & contrast

On white

6.00
#A22BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A22BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BAF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BAF#FFFFFF#000000##FFFFFF
##A22BAF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#A5446C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22baf;
/* rgb */ color: rgb(162, 43, 175);
/* oklch */ color: oklch(52.8% 0.213 323.6);
Tailwind
colors: {
  custom: {
    50: '#c172c7',
    500: '#a22baf',
    950: '#000000',
  },
}
SCSS
$custom: #a22baf;
$custom-light: #c172c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22baf",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 294.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.21285,
    "h": 323.6
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#A22BAF
secondary
#79C570
accent
#E44454
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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