#A12FB2#A12FB2

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

Color values

HEX#A12FB2
RGBrgb(161, 47, 178)
HSLhsl(292, 58%, 44%)
HSVhsv(292, 74%, 70%)
CMYKcmyk(9.6%, 73.6%, 0%, 30.2%)
CIE-LABlab(42.50, 62.77, -46.25)
CIE-LCHlch(42.50, 77.97, 323.62°)
OKLaboklab(53.19% 0.1663 -0.1293)
OKLCHoklch(53.19% 0.211 322.1)
XYZxyz(23.7495, 12.8258, 43.3355)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FB2 #40B22F
analogous
#602FB2 #A12FB2 #B22F82
triadic
#A12FB2 #B2A12F #2FB2A1
tetradic
#A12FB2 #B2602F #40B22F #2F82B2
square
#A12FB2 #B2602F #40B22F #2F82B2
split-complementary
#A12FB2 #82B22F #2FB260
monochromatic
#491551 #752282 #A12FB2 #BF4ED0 #D17EDD

Accessibility & contrast

On white

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

On black

3.56
#A12FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A12FB2#FFFFFF#000000##FFFFFF
##A12FB21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#A3486E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12fb2;
/* rgb */ color: rgb(161, 47, 178);
/* oklch */ color: oklch(53.2% 0.211 322.1);
Tailwind
colors: {
  custom: {
    50: '#c173ca',
    500: '#a12fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a12fb2;
$custom-light: #c173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fb2",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 292.214,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.21068,
    "h": 322.1
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#A12FB2
secondary
#81C677
accent
#E1465A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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