#A12FB0#A12FB0

#A12FB0 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.209 H 322.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A12FB0
RGBrgb(161, 47, 176)
HSLhsl(293, 58%, 44%)
HSVhsv(293, 73%, 69%)
CMYKcmyk(8.5%, 73.3%, 0%, 31%)
CIE-LABlab(42.38, 62.41, -45.27)
CIE-LCHlch(42.38, 77.10, 324.05°)
OKLaboklab(53.06% 0.1664 -0.1264)
OKLCHoklch(53.06% 0.209 322.8)
XYZxyz(23.5502, 12.7461, 42.2857)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FB0 #3EB02F
analogous
#602FB0 #A12FB0 #B02F7E
triadic
#A12FB0 #B0A12F #2FB0A1
tetradic
#A12FB0 #B0602F #3EB02F #2F7EB0
square
#A12FB0 #B0602F #3EB02F #2F7EB0
split-complementary
#A12FB0 #7EB02F #2FB060
monochromatic
#49154F #752280 #A12FB0 #C04DCF #D17DDC

Accessibility & contrast

On white

5.92
#A12FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A12FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FB0
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FB0#FFFFFF#000000##FFFFFF
##A12FB01.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#A3476D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12fb0;
/* rgb */ color: rgb(161, 47, 176);
/* oklch */ color: oklch(53.1% 0.209 322.8);
Tailwind
colors: {
  custom: {
    50: '#c173c8',
    500: '#a12fb0',
    950: '#000000',
  },
}
SCSS
$custom: #a12fb0;
$custom-light: #c173c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fb0",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 293.023,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.20901,
    "h": 322.8
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#A12FB0
secondary
#7FC576
accent
#E14759
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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