#813F8A#813F8A

#813F8A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.2% C 0.136 H 322.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#813F8A
RGBrgb(129, 63, 138)
HSLhsl(293, 37%, 39%)
HSVhsv(293, 54%, 54%)
CMYKcmyk(6.5%, 54.3%, 0%, 45.9%)
CIE-LABlab(37.95, 40.16, -29.73)
CIE-LCHlch(37.95, 49.97, 323.49°)
OKLaboklab(48.19% 0.1079 -0.0822)
OKLCHoklch(48.19% 0.136 322.7)
XYZxyz(15.4177, 10.0578, 25.1691)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813F8A #488A3F
analogous
#5C3F8A #813F8A #8A3F6E
triadic
#813F8A #8A813F #3F8A81
tetradic
#813F8A #8A5C3F #488A3F #3F6E8A
square
#813F8A #8A5C3F #488A3F #3F6E8A
split-complementary
#813F8A #6E8A3F #3F8A5C
monochromatic
#321936 #5A2C60 #813F8A #A655B1 #BC7FC5

Accessibility & contrast

On white

6.97
#813F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#813F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813F8A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813F8A#FFFFFF#000000##FFFFFF
##813F8A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#83495E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #813f8a;
/* rgb */ color: rgb(129, 63, 138);
/* oklch */ color: oklch(48.2% 0.136 322.7);
Tailwind
colors: {
  custom: {
    50: '#a777ac',
    500: '#813f8a',
    950: '#000000',
  },
}
SCSS
$custom: #813f8a;
$custom-light: #a777ac;
$custom-dark: #000000;
JSON
{
  "hex": "#813f8a",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 292.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48185,
    "c": 0.13569,
    "h": 322.7
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#813F8A
secondary
#7DAF76
accent
#CD5B68
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #813F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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