#A12CBF#A12CBF

#A12CBF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.225 H 318.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A12CBF
RGBrgb(161, 44, 191)
HSLhsl(288, 63%, 46%)
HSVhsv(288, 77%, 75%)
CMYKcmyk(15.7%, 77%, 0%, 25.1%)
CIE-LABlab(42.98, 66.16, -53.13)
CIE-LCHlch(42.98, 84.85, 321.23°)
OKLaboklab(53.79% 0.1677 -0.1494)
OKLCHoklch(53.79% 0.225 318.3)
XYZxyz(25.0013, 13.1412, 50.4997)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CBF #4ABF2C
analogous
#572CBF #A12CBF #BF2C93
triadic
#A12CBF #BFA12C #2CBFA1
tetradic
#A12CBF #BF572C #4ABF2C #2C93BF
square
#A12CBF #BF572C #4ABF2C #2C93BF
split-complementary
#A12CBF #93BF2C #2CBF57
monochromatic
#4D155C #77218D #A12CBF #BC51D7 #CF83E2

Accessibility & contrast

On white

5.79
#A12CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A12CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CBF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CBF#FFFFFF#000000##FFFFFF
##A12CBF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#3469BC
Tritanopia (blue-blind)
#A04C75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12cbf;
/* rgb */ color: rgb(161, 44, 191);
/* oklch */ color: oklch(53.8% 0.225 318.3);
Tailwind
colors: {
  custom: {
    50: '#c173d3',
    500: '#a12cbf',
    950: '#000000',
  },
}
SCSS
$custom: #a12cbf;
$custom-light: #c173d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cbf",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 287.755,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.22461,
    "h": 318.3
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#A12CBF
secondary
#8CCC7B
accent
#E64264
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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