#813099#813099

#813099 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.173 H 317.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#813099
RGBrgb(129, 48, 153)
HSLhsl(286, 52%, 39%)
HSVhsv(286, 69%, 60%)
CMYKcmyk(15.7%, 68.6%, 0%, 40%)
CIE-LABlab(36.14, 50.52, -41.74)
CIE-LCHlch(36.14, 65.53, 320.43°)
OKLaboklab(47.15% 0.128 -0.1171)
OKLCHoklch(47.15% 0.173 317.5)
XYZxyz(15.8592, 9.0816, 31.0484)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813099 #489930
analogous
#4D3099 #813099 #99307D
triadic
#813099 #998130 #309981
tetradic
#813099 #994D30 #489930 #307D99
square
#813099 #994D30 #489930 #307D99
split-complementary
#813099 #7D9930 #30994D
monochromatic
#32133C #5A216A #813099 #A642C4 #BC71D2

Accessibility & contrast

On white

7.46
#813099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#813099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #813099
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813099#FFFFFF#000000##FFFFFF
##8130991.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #813099;
/* rgb */ color: rgb(129, 48, 153);
/* oklch */ color: oklch(47.1% 0.173 317.5);
Tailwind
colors: {
  custom: {
    50: '#a96fb8',
    500: '#813099',
    950: '#000000',
  },
}
SCSS
$custom: #813099;
$custom-light: #a96fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#813099",
  "rgb": {
    "r": 129,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 286.286,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4715,
    "c": 0.17345,
    "h": 317.5
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#813099
secondary
#7DBA6B
accent
#DC4C6D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #813099

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

Preview Lab → · Contrast checker → · Palette generator →

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