#A13EC8#A13EC8

#A13EC8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.213 H 314.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A13EC8
RGBrgb(161, 62, 200)
HSLhsl(283, 56%, 51%)
HSVhsv(283, 69%, 78%)
CMYKcmyk(19.5%, 69%, 0%, 21.6%)
CIE-LABlab(45.90, 61.25, -53.66)
CIE-LCHlch(45.90, 81.43, 318.78°)
OKLaboklab(56.05% 0.1497 -0.1511)
OKLCHoklch(56.05% 0.213 314.7)
XYZxyz(26.8442, 15.1934, 56.1509)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A13EC8 #65C83E
analogous
#5C3EC8 #A13EC8 #C83EAA
triadic
#A13EC8 #C8A13E #3EC8A1
tetradic
#A13EC8 #C85C3E #65C83E #3EAAC8
square
#A13EC8 #C85C3E #65C83E #3EAAC8
split-complementary
#A13EC8 #AAC83E #3EC85C
monochromatic
#571F6D #7D2D9C #A13EC8 #B86ED6 #CF9DE3

Accessibility & contrast

On white

5.20
#A13EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A13EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A13EC8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A13EC8#FFFFFF#000000##FFFFFF
##A13EC81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#396FC5
Tritanopia (blue-blind)
#9E5A7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a13ec8;
/* rgb */ color: rgb(161, 62, 200);
/* oklch */ color: oklch(56.0% 0.213 314.7);
Tailwind
colors: {
  custom: {
    50: '#c17bd9',
    500: '#a13ec8',
    950: '#000000',
  },
}
SCSS
$custom: #a13ec8;
$custom-light: #c17bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a13ec8",
  "rgb": {
    "r": 161,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 283.043,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.21267,
    "h": 314.7
  },
  "luminance": 0.15192
}

Semantic roles & 50–950 ramp

primary
#A13EC8
secondary
#A4CF92
accent
#DF4973
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A13EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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