#813186#813186

#813186 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.154 H 325.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#813186
RGBrgb(129, 49, 134)
HSLhsl(296, 46%, 36%)
HSVhsv(296, 63%, 53%)
CMYKcmyk(3.7%, 63.4%, 0%, 47.5%)
CIE-LABlab(35.17, 46.31, -31.64)
CIE-LCHlch(35.17, 56.09, 325.65°)
OKLaboklab(46.09% 0.1267 -0.0877)
OKLCHoklch(46.09% 0.154 325.3)
XYZxyz(14.4543, 8.5858, 23.4455)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813186 #368631
analogous
#563186 #813186 #863160
triadic
#813186 #868131 #318681
tetradic
#813186 #865631 #368631 #316086
square
#813186 #865631 #368631 #316086
split-complementary
#813186 #608631 #318656
monochromatic
#2B102C #562159 #813186 #AC41B3 #C369C8

Accessibility & contrast

On white

7.73
#813186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#813186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #813186
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813186#FFFFFF#000000##FFFFFF
##8131861.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C89
Deuteranopia (green-blind)
#415684
Tritanopia (blue-blind)
#843D57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #813186;
/* rgb */ color: rgb(129, 49, 134);
/* oklch */ color: oklch(46.1% 0.154 325.3);
Tailwind
colors: {
  custom: {
    50: '#a86fa9',
    500: '#813186',
    950: '#000000',
  },
}
SCSS
$custom: #813186;
$custom-light: #a86fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#813186",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 296.471,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.15407,
    "h": 325.3
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#813186
secondary
#68B063
accent
#D65259
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #813186

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

Preview Lab → · Contrast checker → · Palette generator →

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