#813697#813697

#813697 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.163 H 317.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#813697
RGBrgb(129, 54, 151)
HSLhsl(286, 47%, 40%)
HSVhsv(286, 64%, 59%)
CMYKcmyk(14.6%, 64.2%, 0%, 40.8%)
CIE-LABlab(37.00, 47.36, -39.15)
CIE-LCHlch(37.00, 61.45, 320.43°)
OKLaboklab(47.73% 0.1209 -0.1095)
OKLCHoklch(47.73% 0.163 317.8)
XYZxyz(15.9576, 9.5405, 30.2731)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813697 #4C9736
analogous
#513697 #813697 #97367C
triadic
#813697 #978136 #369781
tetradic
#813697 #975136 #4C9736 #367C97
square
#813697 #975136 #4C9736 #367C97
split-complementary
#813697 #7C9736 #369751
monochromatic
#34163D #5A266A #813697 #A54BBF #BB78CF

Accessibility & contrast

On white

7.22
#813697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#813697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #813697
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813697#FFFFFF#000000##FFFFFF
##8136971.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#3A5995
Tritanopia (blue-blind)
#804761
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #813697;
/* rgb */ color: rgb(129, 54, 151);
/* oklch */ color: oklch(47.7% 0.163 317.8);
Tailwind
colors: {
  custom: {
    50: '#a872b6',
    500: '#813697',
    950: '#000000',
  },
}
SCSS
$custom: #813697;
$custom-light: #a872b6;
$custom-dark: #000000;
JSON
{
  "hex": "#813697",
  "rgb": {
    "r": 129,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 286.392,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.16311,
    "h": 317.8
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#813697
secondary
#81B871
accent
#D7516F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #813697

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

Preview Lab → · Contrast checker → · Palette generator →

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