#A12EBF#A12EBF

#A12EBF is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.223 H 318.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A12EBF
RGBrgb(161, 46, 191)
HSLhsl(288, 61%, 46%)
HSVhsv(288, 76%, 75%)
CMYKcmyk(15.7%, 75.9%, 0%, 25.1%)
CIE-LABlab(43.20, 65.51, -52.77)
CIE-LCHlch(43.20, 84.11, 321.15°)
OKLaboklab(53.95% 0.166 -0.1483)
OKLCHoklch(53.95% 0.223 318.2)
XYZxyz(25.0776, 13.2938, 50.5251)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EBF #4CBF2E
analogous
#592EBF #A12EBF #BF2E95
triadic
#A12EBF #BFA12E #2EBFA1
tetradic
#A12EBF #BF592E #4CBF2E #2E95BF
square
#A12EBF #BF592E #4CBF2E #2E95BF
split-complementary
#A12EBF #95BF2E #2EBF59
monochromatic
#4E165C #77228E #A12EBF #BB54D6 #CF86E2

Accessibility & contrast

On white

5.74
#A12EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A12EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EBF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EBF#FFFFFF#000000##FFFFFF
##A12EBF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#356ABC
Tritanopia (blue-blind)
#A04D75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12ebf;
/* rgb */ color: rgb(161, 46, 191);
/* oklch */ color: oklch(53.9% 0.223 318.2);
Tailwind
colors: {
  custom: {
    50: '#c173d3',
    500: '#a12ebf',
    950: '#000000',
  },
}
SCSS
$custom: #a12ebf;
$custom-light: #c173d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ebf",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 287.586,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.22263,
    "h": 318.2
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#A12EBF
secondary
#8ECB7E
accent
#E44465
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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