#813EA2#813EA2

#813EA2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.5% C 0.163 H 312.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#813EA2
RGBrgb(129, 62, 162)
HSLhsl(280, 45%, 44%)
HSVhsv(280, 62%, 64%)
CMYKcmyk(20.4%, 61.7%, 0%, 36.5%)
CIE-LABlab(39.11, 45.81, -42.43)
CIE-LCHlch(39.11, 62.44, 317.20°)
OKLaboklab(49.47% 0.1107 -0.1192)
OKLCHoklch(49.47% 0.163 312.9)
XYZxyz(17.2963, 10.7215, 35.3337)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EA2 #5FA23E
analogous
#4F3EA2 #813EA2 #A23E91
triadic
#813EA2 #A2813E #3EA281
tetradic
#813EA2 #A24F3E #5FA23E #3E91A2
square
#813EA2 #A24F3E #5FA23E #3E91A2
split-complementary
#813EA2 #91A23E #3EA24F
monochromatic
#3B1C49 #5E2D76 #813EA2 #A05CC1 #BA89D2

Accessibility & contrast

On white

6.68
#813EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#813EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EA2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EA2#FFFFFF#000000##FFFFFF
##813EA21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#7E506A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #813ea2;
/* rgb */ color: rgb(129, 62, 162);
/* oklch */ color: oklch(49.5% 0.163 312.9);
Tailwind
colors: {
  custom: {
    50: '#a877be',
    500: '#813ea2',
    950: '#000000',
  },
}
SCSS
$custom: #813ea2;
$custom-light: #a877be;
$custom-dark: #000000;
JSON
{
  "hex": "#813ea2",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 280.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.16267,
    "h": 312.9
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

primary
#813EA2
secondary
#94BC80
accent
#D4537E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #813EA2

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

Preview Lab → · Contrast checker → · Palette generator →

#813EA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva