#A12EB7#A12EB7

#A12EB7 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.216 H 320.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A12EB7
RGBrgb(161, 46, 183)
HSLhsl(290, 60%, 45%)
HSVhsv(290, 75%, 72%)
CMYKcmyk(12%, 74.9%, 0%, 28.2%)
CIE-LABlab(42.69, 64.02, -48.90)
CIE-LCHlch(42.69, 80.56, 322.63°)
OKLaboklab(53.42% 0.1669 -0.137)
OKLCHoklch(53.42% 0.216 320.6)
XYZxyz(24.2212, 12.9512, 46.0146)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EB7 #44B72E
analogous
#5D2EB7 #A12EB7 #B72E88
triadic
#A12EB7 #B7A12E #2EB7A1
tetradic
#A12EB7 #B75D2E #44B72E #2E88B7
square
#A12EB7 #B75D2E #44B72E #2E88B7
split-complementary
#A12EB7 #88B72E #2EB75D
monochromatic
#4B1555 #762286 #A12EB7 #BE4FD3 #D080DF

Accessibility & contrast

On white

5.85
#A12EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A12EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EB7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EB7#FFFFFF#000000##FFFFFF
##A12EB71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3D69B4
Tritanopia (blue-blind)
#A24971
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12eb7;
/* rgb */ color: rgb(161, 46, 183);
/* oklch */ color: oklch(53.4% 0.216 320.6);
Tailwind
colors: {
  custom: {
    50: '#c173cd',
    500: '#a12eb7',
    950: '#000000',
  },
}
SCSS
$custom: #a12eb7;
$custom-light: #c173cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a12eb7",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 290.365,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53419,
    "c": 0.21591,
    "h": 320.6
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#A12EB7
secondary
#86C879
accent
#E3455E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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