#A12BD0#A12BD0

#A12BD0 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.9% C 0.240 H 313.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A12BD0
RGBrgb(161, 43, 208)
HSLhsl(283, 66%, 49%)
HSVhsv(283, 79%, 82%)
CMYKcmyk(22.6%, 79.3%, 0%, 18.4%)
CIE-LABlab(44.03, 69.71, -61.30)
CIE-LCHlch(44.03, 92.82, 318.67°)
OKLaboklab(54.9% 0.1657 -0.1734)
OKLCHoklch(54.9% 0.24 313.7)
XYZxyz(26.9450, 13.8598, 60.9181)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BD0 #5AD02B
analogous
#4F2BD0 #A12BD0 #D02BAD
triadic
#A12BD0 #D0A12B #2BD0A1
tetradic
#A12BD0 #D04F2B #5AD02B #2BADD0
square
#A12BD0 #D04F2B #5AD02B #2BADD0
split-complementary
#A12BD0 #ADD02B #2BD04F
monochromatic
#52166B #7A219D #A12BD0 #B85BDD #CE8EE8

Accessibility & contrast

On white

5.57
#A12BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A12BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BD0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BD0#FFFFFF#000000##FFFFFF
##A12BD01.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#166BCD
Tritanopia (blue-blind)
#9C547E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a12bd0;
/* rgb */ color: rgb(161, 43, 208);
/* oklch */ color: oklch(54.9% 0.240 313.7);
Tailwind
colors: {
  custom: {
    50: '#c273df',
    500: '#a12bd0',
    950: '#000000',
  },
}
SCSS
$custom: #a12bd0;
$custom-light: #c273df;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bd0",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 208
  },
  "hsl": {
    "h": 282.909,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.23983,
    "h": 313.7
  },
  "luminance": 0.13859
}

Semantic roles & 50–950 ramp

primary
#A12BD0
secondary
#9BD285
accent
#E93F6F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A12BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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