#A12BB2#A12BB2

#A12BB2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.215 H 322.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A12BB2
RGBrgb(161, 43, 178)
HSLhsl(292, 61%, 43%)
HSVhsv(292, 76%, 70%)
CMYKcmyk(9.6%, 75.8%, 0%, 30.2%)
CIE-LABlab(42.03, 64.11, -47.00)
CIE-LCHlch(42.03, 79.50, 323.75°)
OKLaboklab(52.85% 0.17 -0.1315)
OKLCHoklch(52.85% 0.215 322.3)
XYZxyz(23.5969, 12.5205, 43.2847)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BB2 #3CB22B
analogous
#5D2BB2 #A12BB2 #B22B80
triadic
#A12BB2 #B2A12B #2BB2A1
tetradic
#A12BB2 #B25D2B #3CB22B #2B80B2
square
#A12BB2 #B25D2B #3CB22B #2B80B2
split-complementary
#A12BB2 #80B22B #2BB25D
monochromatic
#48134F #741F81 #A12BB2 #C148D3 #D279DF

Accessibility & contrast

On white

5.99
#A12BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A12BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BB2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BB2#FFFFFF#000000##FFFFFF
##A12BB21.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3F68AF
Tritanopia (blue-blind)
#A3456D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12bb2;
/* rgb */ color: rgb(161, 43, 178);
/* oklch */ color: oklch(52.9% 0.215 322.3);
Tailwind
colors: {
  custom: {
    50: '#c172ca',
    500: '#a12bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a12bb2;
$custom-light: #c172ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bb2",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 292.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.21486,
    "h": 322.3
  },
  "luminance": 0.12519
}

Semantic roles & 50–950 ramp

primary
#A12BB2
secondary
#7DC772
accent
#E44458
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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