#A12CB8#A12CB8

#A12CB8 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.219 H 320.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A12CB8
RGBrgb(161, 44, 184)
HSLhsl(290, 61%, 45%)
HSVhsv(290, 76%, 72%)
CMYKcmyk(12.5%, 76.1%, 0%, 27.8%)
CIE-LABlab(42.52, 64.87, -49.76)
CIE-LCHlch(42.52, 81.75, 322.51°)
OKLaboklab(53.32% 0.1685 -0.1395)
OKLCHoklch(53.32% 0.219 320.4)
XYZxyz(24.2493, 12.8404, 46.5393)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CB8 #43B82C
analogous
#5B2CB8 #A12CB8 #B82C89
triadic
#A12CB8 #B8A12C #2CB8A1
tetradic
#A12CB8 #B85B2C #43B82C #2C89B8
square
#A12CB8 #B85B2C #43B82C #2C89B8
split-complementary
#A12CB8 #89B82C #2CB85B
monochromatic
#4B1455 #762087 #A12CB8 #BE4DD4 #D07EE0

Accessibility & contrast

On white

5.89
#A12CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A12CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CB8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CB8#FFFFFF#000000##FFFFFF
##A12CB81.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3B68B5
Tritanopia (blue-blind)
#A24971
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12cb8;
/* rgb */ color: rgb(161, 44, 184);
/* oklch */ color: oklch(53.3% 0.219 320.4);
Tailwind
colors: {
  custom: {
    50: '#c172ce',
    500: '#a12cb8',
    950: '#000000',
  },
}
SCSS
$custom: #a12cb8;
$custom-light: #c172ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cb8",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 290.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.21878,
    "h": 320.4
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#A12CB8
secondary
#84C977
accent
#E5435E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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