#A12DB3#A12DB3

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

Color values

HEX#A12DB3
RGBrgb(161, 45, 179)
HSLhsl(292, 60%, 44%)
HSVhsv(292, 75%, 70%)
CMYKcmyk(10.1%, 74.9%, 0%, 29.8%)
CIE-LABlab(42.32, 63.63, -47.13)
CIE-LCHlch(42.32, 79.19, 323.48°)
OKLaboklab(53.08% 0.1681 -0.1318)
OKLCHoklch(53.08% 0.214 321.9)
XYZxyz(23.7721, 12.7099, 43.8402)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DB3 #3FB32D
analogous
#5E2DB3 #A12DB3 #B32D82
triadic
#A12DB3 #B3A12D #2DB3A1
tetradic
#A12DB3 #B35E2D #3FB32D #2D82B3
square
#A12DB3 #B35E2D #3FB32D #2D82B3
split-complementary
#A12DB3 #82B32D #2DB35E
monochromatic
#491451 #752182 #A12DB3 #C04BD2 #D17CDE

Accessibility & contrast

On white

5.93
#A12DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A12DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DB3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DB3#FFFFFF#000000##FFFFFF
##A12DB31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12db3;
/* rgb */ color: rgb(161, 45, 179);
/* oklch */ color: oklch(53.1% 0.214 321.9);
Tailwind
colors: {
  custom: {
    50: '#c172ca',
    500: '#a12db3',
    950: '#000000',
  },
}
SCSS
$custom: #a12db3;
$custom-light: #c172ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12db3",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 291.94,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.21363,
    "h": 321.9
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#A12DB3
secondary
#80C775
accent
#E3455A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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