#A12FBD#A12FBD

#A12FBD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.220 H 318.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A12FBD
RGBrgb(161, 47, 189)
HSLhsl(288, 60%, 46%)
HSVhsv(288, 75%, 74%)
CMYKcmyk(14.8%, 75.1%, 0%, 25.9%)
CIE-LABlab(43.19, 64.80, -51.62)
CIE-LCHlch(43.19, 82.84, 321.46°)
OKLaboklab(53.9% 0.1654 -0.145)
OKLCHoklch(53.9% 0.22 318.8)
XYZxyz(24.8985, 13.2854, 49.3871)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FBD #4BBD2F
analogous
#5A2FBD #A12FBD #BD2F92
triadic
#A12FBD #BDA12F #2FBDA1
tetradic
#A12FBD #BD5A2F #4BBD2F #2F92BD
square
#A12FBD #BD5A2F #4BBD2F #2F92BD
split-complementary
#A12FBD #92BD2F #2FBD5A
monochromatic
#4D175B #77238C #A12FBD #BB55D5 #CF86E1

Accessibility & contrast

On white

5.74
#A12FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A12FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FBD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FBD#FFFFFF#000000##FFFFFF
##A12FBD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#A14D74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12fbd;
/* rgb */ color: rgb(161, 47, 189);
/* oklch */ color: oklch(53.9% 0.220 318.8);
Tailwind
colors: {
  custom: {
    50: '#c174d2',
    500: '#a12fbd',
    950: '#000000',
  },
}
SCSS
$custom: #a12fbd;
$custom-light: #c174d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fbd",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 288.169,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.21992,
    "h": 318.8
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#A12FBD
secondary
#8DCA7E
accent
#E34464
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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