#813799#813799

#813799 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.0% C 0.164 H 317.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#813799
RGBrgb(129, 55, 153)
HSLhsl(285, 47%, 41%)
HSVhsv(285, 64%, 60%)
CMYKcmyk(15.7%, 64.1%, 0%, 40%)
CIE-LABlab(37.30, 47.31, -39.89)
CIE-LCHlch(37.30, 61.88, 319.86°)
OKLaboklab(47.99% 0.1196 -0.1117)
OKLCHoklch(47.99% 0.164 317)
XYZxyz(16.1684, 9.7000, 31.1514)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813799 #4F9937
analogous
#503799 #813799 #993780
triadic
#813799 #998137 #379981
tetradic
#813799 #995037 #4F9937 #378099
square
#813799 #995037 #4F9937 #378099
split-complementary
#813799 #809937 #379950
monochromatic
#35173F #5B276C #813799 #A44EBF #BB7BD0

Accessibility & contrast

On white

7.14
#813799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#813799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #813799
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813799#FFFFFF#000000##FFFFFF
##8137991.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17539C
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#804863
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #813799;
/* rgb */ color: rgb(129, 55, 153);
/* oklch */ color: oklch(48.0% 0.164 317.0);
Tailwind
colors: {
  custom: {
    50: '#a873b7',
    500: '#813799',
    950: '#000000',
  },
}
SCSS
$custom: #813799;
$custom-light: #a873b7;
$custom-dark: #000000;
JSON
{
  "hex": "#813799",
  "rgb": {
    "r": 129,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 285.306,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47985,
    "c": 0.16367,
    "h": 317
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#813799
secondary
#84B973
accent
#D75172
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #813799

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

Preview Lab → · Contrast checker → · Palette generator →

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