#A12DB0#A12DB0

#A12DB0 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.211 H 322.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A12DB0
RGBrgb(161, 45, 176)
HSLhsl(293, 59%, 43%)
HSVhsv(293, 74%, 69%)
CMYKcmyk(8.5%, 74.4%, 0%, 31%)
CIE-LABlab(42.14, 63.10, -45.65)
CIE-LCHlch(42.14, 77.88, 324.12°)
OKLaboklab(52.89% 0.1683 -0.1275)
OKLCHoklch(52.89% 0.211 322.9)
XYZxyz(23.4720, 12.5898, 42.2596)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DB0 #3CB02D
analogous
#5F2DB0 #A12DB0 #B02D7D
triadic
#A12DB0 #B0A12D #2DB0A1
tetradic
#A12DB0 #B05F2D #3CB02D #2D7DB0
square
#A12DB0 #B05F2D #3CB02D #2D7DB0
split-complementary
#A12DB0 #7DB02D #2DB05F
monochromatic
#48144F #74217F #A12DB0 #C14AD1 #D27ADD

Accessibility & contrast

On white

5.97
#A12DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A12DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DB0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DB0#FFFFFF#000000##FFFFFF
##A12DB01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#4268AD
Tritanopia (blue-blind)
#A3466D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12db0;
/* rgb */ color: rgb(161, 45, 176);
/* oklch */ color: oklch(52.9% 0.211 322.9);
Tailwind
colors: {
  custom: {
    50: '#c172c8',
    500: '#a12db0',
    950: '#000000',
  },
}
SCSS
$custom: #a12db0;
$custom-light: #c172c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12db0",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 293.13,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.21116,
    "h": 322.9
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#A12DB0
secondary
#7DC573
accent
#E24557
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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