#A12DB7#A12DB7

#A12DB7 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.217 H 320.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A12DB7
RGBrgb(161, 45, 183)
HSLhsl(290, 61%, 45%)
HSVhsv(290, 75%, 72%)
CMYKcmyk(12%, 75.4%, 0%, 28.2%)
CIE-LABlab(42.57, 64.36, -49.09)
CIE-LCHlch(42.57, 80.94, 322.67°)
OKLaboklab(53.34% 0.1678 -0.1376)
OKLCHoklch(53.34% 0.217 320.6)
XYZxyz(24.1826, 12.8740, 46.0017)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DB7 #43B72D
analogous
#5C2DB7 #A12DB7 #B72D88
triadic
#A12DB7 #B7A12D #2DB7A1
tetradic
#A12DB7 #B75C2D #43B72D #2D88B7
square
#A12DB7 #B75C2D #43B72D #2D88B7
split-complementary
#A12DB7 #88B72D #2DB75C
monochromatic
#4B1555 #762186 #A12DB7 #BE4ED3 #D07FDF

Accessibility & contrast

On white

5.87
#A12DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A12DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DB7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DB7#FFFFFF#000000##FFFFFF
##A12DB71.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3C69B4
Tritanopia (blue-blind)
#A24971
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12db7;
/* rgb */ color: rgb(161, 45, 183);
/* oklch */ color: oklch(53.3% 0.217 320.6);
Tailwind
colors: {
  custom: {
    50: '#c173cd',
    500: '#a12db7',
    950: '#000000',
  },
}
SCSS
$custom: #a12db7;
$custom-light: #c173cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a12db7",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 290.435,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.21695,
    "h": 320.6
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#A12DB7
secondary
#84C878
accent
#E4445E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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