#A22FBC#A22FBC

#A22FBC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.219 H 319.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A22FBC
RGBrgb(162, 47, 188)
HSLhsl(289, 60%, 46%)
HSVhsv(289, 75%, 74%)
CMYKcmyk(13.8%, 75%, 0%, 26.3%)
CIE-LABlab(43.28, 64.81, -50.88)
CIE-LCHlch(43.28, 82.39, 321.87°)
OKLaboklab(53.97% 0.1667 -0.1428)
OKLCHoklch(53.97% 0.219 319.4)
XYZxyz(24.9927, 13.3465, 48.8269)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FBC #49BC2F
analogous
#5B2FBC #A22FBC #BC2F8F
triadic
#A22FBC #BCA22F #2FBCA2
tetradic
#A22FBC #BC5B2F #49BC2F #2F8FBC
square
#A22FBC #BC5B2F #49BC2F #2F8FBC
split-complementary
#A22FBC #8FBC2F #2FBC5B
monochromatic
#4E175A #78238B #A22FBC #BD54D4 #D085E0

Accessibility & contrast

On white

5.72
#A22FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A22FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FBC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FBC#FFFFFF#000000##FFFFFF
##A22FBC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#A24C74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a22fbc;
/* rgb */ color: rgb(162, 47, 188);
/* oklch */ color: oklch(54.0% 0.219 319.4);
Tailwind
colors: {
  custom: {
    50: '#c274d1',
    500: '#a22fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a22fbc;
$custom-light: #c274d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fbc",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 288.936,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.21946,
    "h": 319.4
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#A22FBC
secondary
#8BCA7D
accent
#E34562
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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