#A12DD3#A12DD3

#A12DD3 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.3% C 0.241 H 312.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A12DD3
RGBrgb(161, 45, 211)
HSLhsl(282, 65%, 50%)
HSVhsv(282, 79%, 83%)
CMYKcmyk(23.7%, 78.7%, 0%, 17.3%)
CIE-LABlab(44.46, 69.67, -62.33)
CIE-LCHlch(44.46, 93.49, 318.18°)
OKLaboklab(55.26% 0.1636 -0.1764)
OKLCHoklch(55.26% 0.241 312.8)
XYZxyz(27.3921, 14.1578, 62.9052)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DD3 #5FD32D
analogous
#4E2DD3 #A12DD3 #D32DB2
triadic
#A12DD3 #D3A12D #2DD3A1
tetradic
#A12DD3 #D34E2D #5FD32D #2DB2D3
square
#A12DD3 #D34E2D #5FD32D #2DB2D3
split-complementary
#A12DD3 #B2D32D #2DD34E
monochromatic
#54176E #7B22A1 #A12DD3 #B860DE #CE92E8

Accessibility & contrast

On white

5.48
#A12DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12DD3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DD3#FFFFFF#000000##FFFFFF
##A12DD31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#106BD0
Tritanopia (blue-blind)
#9B5681
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a12dd3;
/* rgb */ color: rgb(161, 45, 211);
/* oklch */ color: oklch(55.3% 0.241 312.8);
Tailwind
colors: {
  custom: {
    50: '#c274e1',
    500: '#a12dd3',
    950: '#000000',
  },
}
SCSS
$custom: #a12dd3;
$custom-light: #c274e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12dd3",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 211
  },
  "hsl": {
    "h": 281.928,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55264,
    "c": 0.2406,
    "h": 312.8
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#A12DD3
secondary
#9FD389
accent
#E83F72
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A12DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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