#A12FBE#A12FBE

#A12FBE is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.221 H 318.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A12FBE
RGBrgb(161, 47, 190)
HSLhsl(288, 60%, 46%)
HSVhsv(288, 75%, 75%)
CMYKcmyk(15.3%, 75.3%, 0%, 25.5%)
CIE-LABlab(43.25, 64.98, -52.10)
CIE-LCHlch(43.25, 83.29, 321.28°)
OKLaboklab(53.96% 0.1652 -0.1464)
OKLCHoklch(53.96% 0.221 318.5)
XYZxyz(25.0074, 13.3290, 49.9607)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FBE #4CBE2F
analogous
#5A2FBE #A12FBE #BE2F94
triadic
#A12FBE #BEA12F #2FBEA1
tetradic
#A12FBE #BE5A2F #4CBE2F #2F94BE
square
#A12FBE #BE5A2F #4CBE2F #2F94BE
split-complementary
#A12FBE #94BE2F #2FBE5A
monochromatic
#4E175C #77238D #A12FBE #BB55D5 #CF86E1

Accessibility & contrast

On white

5.73
#A12FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A12FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FBE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FBE#FFFFFF#000000##FFFFFF
##A12FBE1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#A04D75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12fbe;
/* rgb */ color: rgb(161, 47, 190);
/* oklch */ color: oklch(54.0% 0.221 318.5);
Tailwind
colors: {
  custom: {
    50: '#c174d2',
    500: '#a12fbe',
    950: '#000000',
  },
}
SCSS
$custom: #a12fbe;
$custom-light: #c174d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fbe",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 287.832,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.22077,
    "h": 318.5
  },
  "luminance": 0.13328
}

Semantic roles & 50–950 ramp

primary
#A12FBE
secondary
#8ECB7E
accent
#E34465
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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