#813199#813199

#813199 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.172 H 317.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#813199
RGBrgb(129, 49, 153)
HSLhsl(286, 51%, 40%)
HSVhsv(286, 68%, 60%)
CMYKcmyk(15.7%, 68%, 0%, 40%)
CIE-LABlab(36.30, 50.08, -41.49)
CIE-LCHlch(36.30, 65.03, 320.36°)
OKLaboklab(47.26% 0.1268 -0.1163)
OKLCHoklch(47.26% 0.172 317.5)
XYZxyz(15.9005, 9.1643, 31.0621)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813199 #499931
analogous
#4D3199 #813199 #99317D
triadic
#813199 #998131 #319981
tetradic
#813199 #994D31 #499931 #317D99
square
#813199 #994D31 #499931 #317D99
split-complementary
#813199 #7D9931 #31994D
monochromatic
#33133C #5A226B #813199 #A644C3 #BC72D2

Accessibility & contrast

On white

7.41
#813199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#813199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #813199
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813199#FFFFFF#000000##FFFFFF
##8131991.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509C
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#804461
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #813199;
/* rgb */ color: rgb(129, 49, 153);
/* oklch */ color: oklch(47.3% 0.172 317.5);
Tailwind
colors: {
  custom: {
    50: '#a970b7',
    500: '#813199',
    950: '#000000',
  },
}
SCSS
$custom: #813199;
$custom-light: #a970b7;
$custom-dark: #000000;
JSON
{
  "hex": "#813199",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 286.154,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47264,
    "c": 0.17211,
    "h": 317.5
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#813199
secondary
#7EBA6C
accent
#DB4D6E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #813199

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

Preview Lab → · Contrast checker → · Palette generator →

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