#813397#813397

#813397 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.167 H 318.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#813397
RGBrgb(129, 51, 151)
HSLhsl(287, 50%, 40%)
HSVhsv(287, 66%, 59%)
CMYKcmyk(14.6%, 66.2%, 0%, 40.8%)
CIE-LABlab(36.50, 48.76, -39.96)
CIE-LCHlch(36.50, 63.04, 320.67°)
OKLaboklab(47.37% 0.1245 -0.1119)
OKLCHoklch(47.37% 0.167 318.1)
XYZxyz(15.8222, 9.2698, 30.2280)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813397 #499733
analogous
#4F3397 #813397 #97337B
triadic
#813397 #978133 #339781
tetradic
#813397 #974F33 #499733 #337B97
square
#813397 #974F33 #499733 #337B97
split-complementary
#813397 #7B9733 #33974F
monochromatic
#33143C #5A2469 #813397 #A647C1 #BC74D0

Accessibility & contrast

On white

7.36
#813397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#813397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #813397
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813397#FFFFFF#000000##FFFFFF
##8133971.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#375895
Tritanopia (blue-blind)
#814560
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #813397;
/* rgb */ color: rgb(129, 51, 151);
/* oklch */ color: oklch(47.4% 0.167 318.1);
Tailwind
colors: {
  custom: {
    50: '#a971b6',
    500: '#813397',
    950: '#000000',
  },
}
SCSS
$custom: #813397;
$custom-light: #a971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#813397",
  "rgb": {
    "r": 129,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 286.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47368,
    "c": 0.16741,
    "h": 318.1
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#813397
secondary
#7EB86D
accent
#D94F6D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #813397

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

Preview Lab → · Contrast checker → · Palette generator →

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