#A12DCA#A12DCA

#A12DCA is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.6% C 0.233 H 315.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A12DCA
RGBrgb(161, 45, 202)
HSLhsl(284, 64%, 48%)
HSVhsv(284, 78%, 79%)
CMYKcmyk(20.3%, 77.7%, 0%, 20.8%)
CIE-LABlab(43.83, 67.92, -58.16)
CIE-LCHlch(43.83, 89.42, 319.43°)
OKLaboklab(54.62% 0.1652 -0.1642)
OKLCHoklch(54.62% 0.233 315.2)
XYZxyz(26.2953, 13.7191, 57.1286)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DCA #56CA2D
analogous
#522DCA #A12DCA #CA2DA4
triadic
#A12DCA #CAA12D #2DCAA1
tetradic
#A12DCA #CA522D #56CA2D #2DA4CA
square
#A12DCA #CA522D #56CA2D #2DA4CA
split-complementary
#A12DCA #A4CA2D #2DCA52
monochromatic
#511766 #792298 #A12DCA #B95ADA #CE8CE5

Accessibility & contrast

On white

5.61
#A12DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A12DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DCA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DCA#FFFFFF#000000##FFFFFF
##A12DCA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#256AC7
Tritanopia (blue-blind)
#9E527B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a12dca;
/* rgb */ color: rgb(161, 45, 202);
/* oklch */ color: oklch(54.6% 0.233 315.2);
Tailwind
colors: {
  custom: {
    50: '#c273db',
    500: '#a12dca',
    950: '#000000',
  },
}
SCSS
$custom: #a12dca;
$custom-light: #c273db;
$custom-dark: #000000;
JSON
{
  "hex": "#a12dca",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 284.331,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54622,
    "c": 0.23293,
    "h": 315.2
  },
  "luminance": 0.13718
}

Semantic roles & 50–950 ramp

primary
#A12DCA
secondary
#97CF83
accent
#E7416C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A12DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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