#813D97#813D97

#813D97 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.7% C 0.152 H 317.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#813D97
RGBrgb(129, 61, 151)
HSLhsl(285, 42%, 42%)
HSVhsv(285, 60%, 59%)
CMYKcmyk(14.6%, 59.6%, 0%, 40.8%)
CIE-LABlab(38.27, 43.91, -37.14)
CIE-LCHlch(38.27, 57.51, 319.78°)
OKLaboklab(48.65% 0.1118 -0.1037)
OKLCHoklch(48.65% 0.153 317.1)
XYZxyz(16.3071, 10.2396, 30.3896)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813D97 #53973D
analogous
#543D97 #813D97 #973D80
triadic
#813D97 #97813D #3D9781
tetradic
#813D97 #97543D #53973D #3D8097
square
#813D97 #97543D #53973D #3D8097
split-complementary
#813D97 #80973D #3D9754
monochromatic
#371A40 #5C2B6B #813D97 #A256BB #BA82CC

Accessibility & contrast

On white

6.89
#813D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#813D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813D97
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813D97#FFFFFF#000000##FFFFFF
##813D971.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#804C64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #813d97;
/* rgb */ color: rgb(129, 61, 151);
/* oklch */ color: oklch(48.7% 0.152 317.1);
Tailwind
colors: {
  custom: {
    50: '#a876b6',
    500: '#813d97',
    950: '#000000',
  },
}
SCSS
$custom: #813d97;
$custom-light: #a876b6;
$custom-dark: #000000;
JSON
{
  "hex": "#813d97",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 285.333,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48652,
    "c": 0.1525,
    "h": 317.1
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#813D97
secondary
#88B779
accent
#D25674
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #813D97

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

Preview Lab → · Contrast checker → · Palette generator →

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