#A13EC2#A13EC2

#A13EC2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.207 H 316.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A13EC2
RGBrgb(161, 62, 194)
HSLhsl(285, 52%, 50%)
HSVhsv(285, 68%, 76%)
CMYKcmyk(17%, 68%, 0%, 23.9%)
CIE-LABlab(45.52, 60.04, -50.79)
CIE-LCHlch(45.52, 78.64, 319.77°)
OKLaboklab(55.66% 0.1501 -0.1427)
OKLCHoklch(55.66% 0.207 316.5)
XYZxyz(26.1567, 14.9184, 52.5302)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A13EC2 #5FC23E
analogous
#5F3EC2 #A13EC2 #C23EA1
triadic
#A13EC2 #C2A13E #3EC2A1
tetradic
#A13EC2 #C25F3E #5FC23E #3EA1C2
square
#A13EC2 #C25F3E #5FC23E #3EA1C2
split-complementary
#A13EC2 #A1C23E #3EC25F
monochromatic
#542066 #7B2F94 #A13EC2 #B86DD1 #CE9BDF

Accessibility & contrast

On white

5.27
#A13EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A13EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A13EC2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A13EC2#FFFFFF#000000##FFFFFF
##A13EC21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#3F6FBF
Tritanopia (blue-blind)
#9F587B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a13ec2;
/* rgb */ color: rgb(161, 62, 194);
/* oklch */ color: oklch(55.7% 0.207 316.5);
Tailwind
colors: {
  custom: {
    50: '#c07bd5',
    500: '#a13ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a13ec2;
$custom-light: #c07bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a13ec2",
  "rgb": {
    "r": 161,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 285,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5566,
    "c": 0.20708,
    "h": 316.5
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#A13EC2
secondary
#9FCB90
accent
#DB4C70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A13EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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