#A121A8#A121A8

#A121A8 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.216 H 325.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A121A8
RGBrgb(161, 33, 168)
HSLhsl(297, 67%, 39%)
HSVhsv(297, 80%, 66%)
CMYKcmyk(4.2%, 80.4%, 0%, 34.1%)
CIE-LABlab(40.40, 65.33, -43.67)
CIE-LCHlch(40.40, 78.58, 326.24°)
OKLaboklab(51.5% 0.1788 -0.1217)
OKLCHoklch(51.5% 0.216 325.8)
XYZxyz(22.3092, 11.4935, 38.0816)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A121A8 #28A821
analogous
#5E21A8 #A121A8 #A8216C
triadic
#A121A8 #A8A121 #21A8A1
tetradic
#A121A8 #A85E21 #28A821 #216CA8
square
#A121A8 #A85E21 #28A821 #216CA8
split-complementary
#A121A8 #6CA821 #21A85E
monochromatic
#3F0D42 #701775 #A121A8 #CE30D6 #DA63E0

Accessibility & contrast

On white

6.37
#A121A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A121A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A121A8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A121A8#FFFFFF#000000##FFFFFF
##A121A81.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#4264A5
Tritanopia (blue-blind)
#A53B65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a121a8;
/* rgb */ color: rgb(161, 33, 168);
/* oklch */ color: oklch(51.5% 0.216 325.8);
Tailwind
colors: {
  custom: {
    50: '#c16dc2',
    500: '#a121a8',
    950: '#000000',
  },
}
SCSS
$custom: #a121a8;
$custom-light: #c16dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a121a8",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 168
  },
  "hsl": {
    "h": 296.889,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.21624,
    "h": 325.8
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#A121A8
secondary
#65C55F
accent
#EA3E47
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A121A8

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

Preview Lab → · Contrast checker → · Palette generator →

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