#813CA2#813CA2

#813CA2 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.2% C 0.166 H 313.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#813CA2
RGBrgb(129, 60, 162)
HSLhsl(281, 46%, 44%)
HSVhsv(281, 63%, 64%)
CMYKcmyk(20.4%, 63%, 0%, 36.5%)
CIE-LABlab(38.74, 46.81, -43.01)
CIE-LCHlch(38.74, 63.57, 317.42°)
OKLaboklab(49.21% 0.1133 -0.1209)
OKLCHoklch(49.21% 0.166 313.1)
XYZxyz(17.1896, 10.5080, 35.2981)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CA2 #5DA23C
analogous
#4E3CA2 #813CA2 #A23C90
triadic
#813CA2 #A2813C #3CA281
tetradic
#813CA2 #A24E3C #5DA23C #3C90A2
square
#813CA2 #A24E3C #5DA23C #3C90A2
split-complementary
#813CA2 #90A23C #3CA24E
monochromatic
#3A1B49 #5D2B75 #813CA2 #A059C2 #BA86D2

Accessibility & contrast

On white

6.77
#813CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#813CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CA2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CA2#FFFFFF#000000##FFFFFF
##813CA21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A5
Deuteranopia (green-blind)
#365DA0
Tritanopia (blue-blind)
#7E4F69
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #813ca2;
/* rgb */ color: rgb(129, 60, 162);
/* oklch */ color: oklch(49.2% 0.166 313.1);
Tailwind
colors: {
  custom: {
    50: '#a976be',
    500: '#813ca2',
    950: '#000000',
  },
}
SCSS
$custom: #813ca2;
$custom-light: #a976be;
$custom-dark: #000000;
JSON
{
  "hex": "#813ca2",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 280.588,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.16565,
    "h": 313.1
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#813CA2
secondary
#92BC7D
accent
#D6527D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #813CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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