#A122CA#A122CA

#A122CA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.9% C 0.242 H 315.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A122CA
RGBrgb(161, 34, 202)
HSLhsl(285, 71%, 46%)
HSVhsv(285, 83%, 79%)
CMYKcmyk(20.3%, 83.2%, 0%, 20.8%)
CIE-LABlab(42.74, 71.08, -59.91)
CIE-LCHlch(42.74, 92.96, 319.87°)
OKLaboklab(53.86% 0.1731 -0.1693)
OKLCHoklch(53.86% 0.242 315.6)
XYZxyz(25.9289, 12.9864, 57.0065)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A122CA #4BCA22
analogous
#4D22CA #A122CA #CA229F
triadic
#A122CA #CAA122 #22CAA1
tetradic
#A122CA #CA4D22 #4BCA22 #229FCA
square
#A122CA #CA4D22 #4BCA22 #229FCA
split-complementary
#A122CA #9FCA22 #22CA4D
monochromatic
#4D1061 #771996 #A122CA #BB49E0 #CF7DE9

Accessibility & contrast

On white

5.84
#A122CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A122CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A122CA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A122CA#FFFFFF#000000##FFFFFF
##A122CA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#1A68C7
Tritanopia (blue-blind)
#9E4D79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a122ca;
/* rgb */ color: rgb(161, 34, 202);
/* oklch */ color: oklch(53.9% 0.242 315.6);
Tailwind
colors: {
  custom: {
    50: '#c26fdb',
    500: '#a122ca',
    950: '#000000',
  },
}
SCSS
$custom: #a122ca;
$custom-light: #c26fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a122ca",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 285.357,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.24213,
    "h": 315.6
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#A122CA
secondary
#8DD177
accent
#EE3A66
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A122CA

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

Preview Lab → · Contrast checker → · Palette generator →

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