#A12FB9#A12FB9

#A12FB9 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.217 H 320.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A12FB9
RGBrgb(161, 47, 185)
HSLhsl(290, 59%, 45%)
HSVhsv(290, 75%, 73%)
CMYKcmyk(13%, 74.6%, 0%, 27.5%)
CIE-LABlab(42.93, 64.05, -49.68)
CIE-LCHlch(42.93, 81.06, 322.20°)
OKLaboklab(53.63% 0.1658 -0.1393)
OKLCHoklch(53.63% 0.217 320)
XYZxyz(24.4703, 13.1141, 47.1319)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FB9 #47B92F
analogous
#5C2FB9 #A12FB9 #B92F8C
triadic
#A12FB9 #B9A12F #2FB9A1
tetradic
#A12FB9 #B95C2F #47B92F #2F8CB9
square
#A12FB9 #B95C2F #47B92F #2F8CB9
split-complementary
#A12FB9 #8CB92F #2FB95C
monochromatic
#4C1657 #772388 #A12FB9 #BD52D3 #CF83DF

Accessibility & contrast

On white

5.80
#A12FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A12FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FB9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FB9#FFFFFF#000000##FFFFFF
##A12FB91.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#3C69B6
Tritanopia (blue-blind)
#A14B72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12fb9;
/* rgb */ color: rgb(161, 47, 185);
/* oklch */ color: oklch(53.6% 0.217 320.0);
Tailwind
colors: {
  custom: {
    50: '#c174cf',
    500: '#a12fb9',
    950: '#000000',
  },
}
SCSS
$custom: #a12fb9;
$custom-light: #c174cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fb9",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 289.565,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.21654,
    "h": 320
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#A12FB9
secondary
#89C97B
accent
#E34561
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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