#A12FBF#A12FBF

#A12FBF is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.222 H 318.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A12FBF
RGBrgb(161, 47, 191)
HSLhsl(288, 61%, 47%)
HSVhsv(288, 75%, 75%)
CMYKcmyk(15.7%, 75.4%, 0%, 25.1%)
CIE-LABlab(43.32, 65.17, -52.58)
CIE-LCHlch(43.32, 83.73, 321.10°)
OKLaboklab(54.03% 0.1651 -0.1478)
OKLCHoklch(54.03% 0.222 318.2)
XYZxyz(25.1171, 13.3728, 50.5383)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FBF #4DBF2F
analogous
#592FBF #A12FBF #BF2F95
triadic
#A12FBF #BFA12F #2FBFA1
tetradic
#A12FBF #BF592F #4DBF2F #2F95BF
square
#A12FBF #BF592F #4DBF2F #2F95BF
split-complementary
#A12FBF #95BF2F #2FBF59
monochromatic
#4E175D #78238E #A12FBF #BB56D5 #CF87E1

Accessibility & contrast

On white

5.72
#A12FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12FBF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FBF#FFFFFF#000000##FFFFFF
##A12FBF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#A04E76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12fbf;
/* rgb */ color: rgb(161, 47, 191);
/* oklch */ color: oklch(54.0% 0.222 318.2);
Tailwind
colors: {
  custom: {
    50: '#c174d3',
    500: '#a12fbf',
    950: '#000000',
  },
}
SCSS
$custom: #a12fbf;
$custom-light: #c174d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fbf",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 287.5,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.22162,
    "h": 318.2
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#A12FBF
secondary
#8FCB7F
accent
#E44465
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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