#A12CBC#A12CBC

#A12CBC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.222 H 319.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A12CBC
RGBrgb(161, 44, 188)
HSLhsl(289, 62%, 45%)
HSVhsv(289, 77%, 74%)
CMYKcmyk(14.4%, 76.6%, 0%, 26.3%)
CIE-LABlab(42.78, 65.60, -51.69)
CIE-LCHlch(42.78, 83.52, 321.77°)
OKLaboklab(53.59% 0.1681 -0.1452)
OKLCHoklch(53.59% 0.222 319.2)
XYZxyz(24.6745, 13.0105, 48.7788)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CBC #47BC2C
analogous
#592CBC #A12CBC #BC2C8F
triadic
#A12CBC #BCA12C #2CBCA1
tetradic
#A12CBC #BC592C #47BC2C #2C8FBC
square
#A12CBC #BC592C #47BC2C #2C8FBC
split-complementary
#A12CBC #8FBC2C #2CBC59
monochromatic
#4C1559 #77208A #A12CBC #BD4FD6 #CF81E1

Accessibility & contrast

On white

5.83
#A12CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A12CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CBC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CBC#FFFFFF#000000##FFFFFF
##A12CBC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#A14B73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12cbc;
/* rgb */ color: rgb(161, 44, 188);
/* oklch */ color: oklch(53.6% 0.222 319.2);
Tailwind
colors: {
  custom: {
    50: '#c172d1',
    500: '#a12cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a12cbc;
$custom-light: #c172d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cbc",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 288.75,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53585,
    "c": 0.22211,
    "h": 319.2
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#A12CBC
secondary
#89CA79
accent
#E54361
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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