#A12BC2#A12BC2

#A12BC2 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.228 H 317.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A12BC2
RGBrgb(161, 43, 194)
HSLhsl(287, 64%, 46%)
HSVhsv(287, 78%, 76%)
CMYKcmyk(17%, 77.8%, 0%, 23.9%)
CIE-LABlab(43.06, 67.04, -54.74)
CIE-LCHlch(43.06, 86.55, 320.77°)
OKLaboklab(53.91% 0.1681 -0.1541)
OKLCHoklch(53.91% 0.228 317.5)
XYZxyz(25.2980, 13.2010, 52.2440)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BC2 #4CC22B
analogous
#552BC2 #A12BC2 #C22B98
triadic
#A12BC2 #C2A12B #2BC2A1
tetradic
#A12BC2 #C2552B #4CC22B #2B98C2
square
#A12BC2 #C2552B #4CC22B #2B98C2
split-complementary
#A12BC2 #98C22B #2BC255
monochromatic
#4E155E #772090 #A12BC2 #BB52D9 #CF84E4

Accessibility & contrast

On white

5.77
#A12BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A12BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BC2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BC2#FFFFFF#000000##FFFFFF
##A12BC21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#A04D76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12bc2;
/* rgb */ color: rgb(161, 43, 194);
/* oklch */ color: oklch(53.9% 0.228 317.5);
Tailwind
colors: {
  custom: {
    50: '#c172d5',
    500: '#a12bc2',
    950: '#000000',
  },
}
SCSS
$custom: #a12bc2;
$custom-light: #c172d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bc2",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 286.887,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53912,
    "c": 0.22807,
    "h": 317.5
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

primary
#A12BC2
secondary
#8ECD7C
accent
#E74165
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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