#A12DB2#A12DB2

#A12DB2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.213 H 322.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A12DB2
RGBrgb(161, 45, 178)
HSLhsl(292, 60%, 44%)
HSVhsv(292, 75%, 70%)
CMYKcmyk(9.6%, 74.7%, 0%, 30.2%)
CIE-LABlab(42.26, 63.45, -46.64)
CIE-LCHlch(42.26, 78.75, 323.69°)
OKLaboklab(53.02% 0.1682 -0.1304)
OKLCHoklch(53.02% 0.213 322.2)
XYZxyz(23.6714, 12.6696, 43.3095)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DB2 #3EB22D
analogous
#5E2DB2 #A12DB2 #B22D80
triadic
#A12DB2 #B2A12D #2DB2A1
tetradic
#A12DB2 #B25E2D #3EB22D #2D80B2
square
#A12DB2 #B25E2D #3EB22D #2D80B2
split-complementary
#A12DB2 #80B22D #2DB25E
monochromatic
#491450 #752181 #A12DB2 #C04BD1 #D17CDE

Accessibility & contrast

On white

5.94
#A12DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A12DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DB2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DB2#FFFFFF#000000##FFFFFF
##A12DB21.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#A3476E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12db2;
/* rgb */ color: rgb(161, 45, 178);
/* oklch */ color: oklch(53.0% 0.213 322.2);
Tailwind
colors: {
  custom: {
    50: '#c172ca',
    500: '#a12db2',
    950: '#000000',
  },
}
SCSS
$custom: #a12db2;
$custom-light: #c172ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12db2",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 292.331,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.2128,
    "h": 322.2
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#A12DB2
secondary
#7FC675
accent
#E34559
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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