#A12EB2#A12EB2

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

Color values

HEX#A12EB2
RGBrgb(161, 46, 178)
HSLhsl(292, 59%, 44%)
HSVhsv(292, 74%, 70%)
CMYKcmyk(9.6%, 74.2%, 0%, 30.2%)
CIE-LABlab(42.38, 63.12, -46.45)
CIE-LCHlch(42.38, 78.36, 323.65°)
OKLaboklab(53.1% 0.1673 -0.1298)
OKLCHoklch(53.1% 0.212 322.2)
XYZxyz(23.7100, 12.7468, 43.3224)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EB2 #3FB22E
analogous
#5F2EB2 #A12EB2 #B22E81
triadic
#A12EB2 #B2A12E #2EB2A1
tetradic
#A12EB2 #B25F2E #3FB22E #2E81B2
square
#A12EB2 #B25F2E #3FB22E #2E81B2
split-complementary
#A12EB2 #81B22E #2EB25F
monochromatic
#491551 #752181 #A12EB2 #C04CD1 #D17DDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12EB2#FFFFFF#000000##FFFFFF
##A12EB21.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)
#005CB6
Deuteranopia (green-blind)
#4168AF
Tritanopia (blue-blind)
#A3476E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12eb2;
/* rgb */ color: rgb(161, 46, 178);
/* oklch */ color: oklch(53.1% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#c173ca',
    500: '#a12eb2',
    950: '#000000',
  },
}
SCSS
$custom: #a12eb2;
$custom-light: #c173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12eb2",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 292.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53099,
    "c": 0.21175,
    "h": 322.2
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#A12EB2
secondary
#80C676
accent
#E2465A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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