#A12CD4#A12CD4

#A12CD4 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.3% C 0.242 H 312.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A12CD4
RGBrgb(161, 44, 212)
HSLhsl(282, 66%, 50%)
HSVhsv(282, 79%, 83%)
CMYKcmyk(24.1%, 79.2%, 0%, 16.9%)
CIE-LABlab(44.42, 70.18, -62.97)
CIE-LCHlch(44.42, 94.29, 318.10°)
OKLaboklab(55.26% 0.1641 -0.1783)
OKLCHoklch(55.26% 0.242 312.6)
XYZxyz(27.4801, 14.1327, 63.5549)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CD4 #5FD42C
analogous
#4D2CD4 #A12CD4 #D42CB3
triadic
#A12CD4 #D4A12C #2CD4A1
tetradic
#A12CD4 #D44D2C #5FD42C #2CB3D4
square
#A12CD4 #D44D2C #5FD42C #2CB3D4
split-complementary
#A12CD4 #B3D42C #2CD44D
monochromatic
#54176F #7B21A2 #A12CD4 #B85FDE #CE92E9

Accessibility & contrast

On white

5.49
#A12CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#A12CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CD4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CD4#FFFFFF#000000##FFFFFF
##A12CD41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#086BD1
Tritanopia (blue-blind)
#9B5681
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a12cd4;
/* rgb */ color: rgb(161, 44, 212);
/* oklch */ color: oklch(55.3% 0.242 312.6);
Tailwind
colors: {
  custom: {
    50: '#c274e2',
    500: '#a12cd4',
    950: '#000000',
  },
}
SCSS
$custom: #a12cd4;
$custom-light: #c274e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cd4",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 281.786,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55261,
    "c": 0.24234,
    "h": 312.6
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#A12CD4
secondary
#9FD388
accent
#E93F72
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84

Preview Lab

Preview with #A12CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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