#A22CDB#A22CDB

#A22CDB is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.9% C 0.249 H 311.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A22CDB
RGBrgb(162, 44, 219)
HSLhsl(280, 71%, 52%)
HSVhsv(280, 80%, 86%)
CMYKcmyk(26%, 79.9%, 0%, 14.1%)
CIE-LABlab(45.08, 71.72, -65.91)
CIE-LCHlch(45.08, 97.41, 317.42°)
OKLaboklab(55.91% 0.1639 -0.1869)
OKLCHoklch(55.91% 0.249 311.2)
XYZxyz(28.5847, 14.5980, 68.3160)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CDB #65DB2C
analogous
#4B2CDB #A22CDB #DB2CBD
triadic
#A22CDB #DBA22C #2CDBA2
tetradic
#A22CDB #DB4B2C #65DB2C #2CBDDB
square
#A22CDB #DB4B2C #65DB2C #2CBDDB
split-complementary
#A22CDB #BDDB2C #2CDB4B
monochromatic
#581478 #7E1DAC #A22CDB #B960E4 #D095ED

Accessibility & contrast

On white

5.36
#A22CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A22CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CDB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CDB#FFFFFF#000000##FFFFFF
##A22CDB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#9A5985
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a22cdb;
/* rgb */ color: rgb(162, 44, 219);
/* oklch */ color: oklch(55.9% 0.249 311.2);
Tailwind
colors: {
  custom: {
    50: '#c374e7',
    500: '#a22cdb',
    950: '#000000',
  },
}
SCSS
$custom: #a22cdb;
$custom-light: #c374e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cdb",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 219
  },
  "hsl": {
    "h": 280.457,
    "s": 70.85,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.24859,
    "h": 311.2
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#A22CDB
secondary
#A4D88B
accent
#EE3A75
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A22CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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