#A112E2#A112E2

#A112E2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 55.0% C 0.270 H 310.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A112E2
RGBrgb(161, 18, 226)
HSLhsl(281, 85%, 48%)
HSVhsv(281, 92%, 89%)
CMYKcmyk(28.8%, 92%, 0%, 11.4%)
CIE-LABlab(43.51, 78.70, -72.47)
CIE-LCHlch(43.51, 106.98, 317.36°)
OKLaboklab(54.96% 0.1742 -0.2061)
OKLCHoklch(54.96% 0.27 310.2)
XYZxyz(28.6390, 13.5013, 73.0341)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A112E2 #53E212
analogous
#3912E2 #A112E2 #E212BB
triadic
#A112E2 #E2A112 #12E2A1
tetradic
#A112E2 #E23912 #53E212 #12BBE2
square
#A112E2 #E23912 #53E212 #12BBE2
split-complementary
#A112E2 #BBE212 #12E239
monochromatic
#500971 #790DA9 #A112E2 #B941F0 #CE7AF4

Accessibility & contrast

On white

5.68
#A112E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A112E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A112E2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A112E2#FFFFFF#000000##FFFFFF
##A112E21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#975586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a112e2;
/* rgb */ color: rgb(161, 18, 226);
/* oklch */ color: oklch(55.0% 0.270 310.2);
Tailwind
colors: {
  custom: {
    50: '#c46dec',
    500: '#a112e2',
    950: '#000000',
  },
}
SCSS
$custom: #a112e2;
$custom-light: #c46dec;
$custom-dark: #000000;
JSON
{
  "hex": "#a112e2",
  "rgb": {
    "r": 161,
    "g": 18,
    "b": 226
  },
  "hsl": {
    "h": 281.25,
    "s": 85.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.26983,
    "h": 310.2
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#A112E2
secondary
#94DC74
accent
#FB2C6D
background
#FCF7FE
surface
#F9EDFD
border
#D2C8D5
text
#140816
muted
#827B84

Preview Lab

Preview with #A112E2

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

Preview Lab → · Contrast checker → · Palette generator →

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