#A12EBD#A12EBD

#A12EBD is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.221 H 318.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A12EBD
RGBrgb(161, 46, 189)
HSLhsl(288, 61%, 46%)
HSVhsv(288, 76%, 74%)
CMYKcmyk(14.8%, 75.7%, 0%, 25.9%)
CIE-LABlab(43.07, 65.13, -51.80)
CIE-LCHlch(43.07, 83.22, 321.50°)
OKLaboklab(53.81% 0.1662 -0.1455)
OKLCHoklch(53.81% 0.221 318.8)
XYZxyz(24.8590, 13.2064, 49.3739)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EBD #4ABD2E
analogous
#592EBD #A12EBD #BD2E91
triadic
#A12EBD #BDA12E #2EBDA1
tetradic
#A12EBD #BD592E #4ABD2E #2E91BD
square
#A12EBD #BD592E #4ABD2E #2E91BD
split-complementary
#A12EBD #91BD2E #2EBD59
monochromatic
#4D165B #77228C #A12EBD #BC53D5 #CF84E1

Accessibility & contrast

On white

5.77
#A12EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A12EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EBD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EBD#FFFFFF#000000##FFFFFF
##A12EBD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#A14C74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12ebd;
/* rgb */ color: rgb(161, 46, 189);
/* oklch */ color: oklch(53.8% 0.221 318.8);
Tailwind
colors: {
  custom: {
    50: '#c173d2',
    500: '#a12ebd',
    950: '#000000',
  },
}
SCSS
$custom: #a12ebd;
$custom-light: #c173d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ebd",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 288.252,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.22095,
    "h": 318.8
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#A12EBD
secondary
#8CCA7C
accent
#E44463
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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