#A12DB4#A12DB4

#A12DB4 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.214 H 321.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A12DB4
RGBrgb(161, 45, 180)
HSLhsl(292, 60%, 44%)
HSVhsv(292, 75%, 71%)
CMYKcmyk(10.6%, 75%, 0%, 29.4%)
CIE-LABlab(42.38, 63.81, -47.62)
CIE-LCHlch(42.38, 79.62, 323.27°)
OKLaboklab(53.14% 0.168 -0.1333)
OKLCHoklch(53.14% 0.214 321.6)
XYZxyz(23.8736, 12.7505, 44.3748)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DB4 #40B42D
analogous
#5E2DB4 #A12DB4 #B42D84
triadic
#A12DB4 #B4A12D #2DB4A1
tetradic
#A12DB4 #B45E2D #40B42D #2D84B4
square
#A12DB4 #B45E2D #40B42D #2D84B4
split-complementary
#A12DB4 #84B42D #2DB45E
monochromatic
#491552 #752183 #A12DB4 #BF4CD2 #D17DDE

Accessibility & contrast

On white

5.92
#A12DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A12DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DB4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DB4#FFFFFF#000000##FFFFFF
##A12DB41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#A3476F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12db4;
/* rgb */ color: rgb(161, 45, 180);
/* oklch */ color: oklch(53.1% 0.214 321.6);
Tailwind
colors: {
  custom: {
    50: '#c172cb',
    500: '#a12db4',
    950: '#000000',
  },
}
SCSS
$custom: #a12db4;
$custom-light: #c172cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a12db4",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 291.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.21446,
    "h": 321.6
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#A12DB4
secondary
#81C776
accent
#E3455B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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