#A22FBD#A22FBD

#A22FBD is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.220 H 319.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A22FBD
RGBrgb(162, 47, 189)
HSLhsl(289, 60%, 46%)
HSVhsv(289, 75%, 74%)
CMYKcmyk(14.3%, 75.1%, 0%, 25.9%)
CIE-LABlab(43.34, 64.99, -51.36)
CIE-LCHlch(43.34, 82.84, 321.68°)
OKLaboklab(54.04% 0.1666 -0.1442)
OKLCHoklch(54.04% 0.22 319.1)
XYZxyz(25.1009, 13.3898, 49.3966)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FBD #4ABD2F
analogous
#5B2FBD #A22FBD #BD2F91
triadic
#A22FBD #BDA22F #2FBDA2
tetradic
#A22FBD #BD5B2F #4ABD2F #2F91BD
square
#A22FBD #BD5B2F #4ABD2F #2F91BD
split-complementary
#A22FBD #91BD2F #2FBD5B
monochromatic
#4E175B #78238C #A22FBD #BC55D5 #CF86E1

Accessibility & contrast

On white

5.71
#A22FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A22FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FBD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FBD#FFFFFF#000000##FFFFFF
##A22FBD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#A24D74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a22fbd;
/* rgb */ color: rgb(162, 47, 189);
/* oklch */ color: oklch(54.0% 0.220 319.1);
Tailwind
colors: {
  custom: {
    50: '#c274d2',
    500: '#a22fbd',
    950: '#000000',
  },
}
SCSS
$custom: #a22fbd;
$custom-light: #c274d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fbd",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 288.592,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.22031,
    "h": 319.1
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#A22FBD
secondary
#8CCA7E
accent
#E34463
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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