#813DBC#813DBC

#813DBC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.192 H 305.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#813DBC
RGBrgb(129, 61, 188)
HSLhsl(272, 51%, 49%)
HSVhsv(272, 68%, 74%)
CMYKcmyk(31.4%, 67.6%, 0%, 26.3%)
CIE-LABlab(40.63, 52.29, -55.38)
CIE-LCHlch(40.63, 76.17, 313.35°)
OKLaboklab(51.12% 0.1104 -0.1572)
OKLCHoklch(51.12% 0.192 305.1)
XYZxyz(19.7971, 11.6356, 48.7701)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DBC #78BC3D
analogous
#423DBC #813DBC #BC3DB8
triadic
#813DBC #BC813D #3DBC81
tetradic
#813DBC #BC423D #78BC3D #3DB8BC
square
#813DBC #BC423D #78BC3D #3DB8BC
split-complementary
#813DBC #B8BC3D #3DBC42
monochromatic
#421F60 #612E8E #813DBC #9F68CE #BC96DD

Accessibility & contrast

On white

6.31
#813DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#813DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DBC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DBC#FFFFFF#000000##FFFFFF
##813DBC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#1260B9
Tritanopia (blue-blind)
#765977
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813dbc;
/* rgb */ color: rgb(129, 61, 188);
/* oklch */ color: oklch(51.1% 0.192 305.1);
Tailwind
colors: {
  custom: {
    50: '#aa77d1',
    500: '#813dbc',
    950: '#000000',
  },
}
SCSS
$custom: #813dbc;
$custom-light: #aa77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#813dbc",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 272.126,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.19206,
    "h": 305.1
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#813DBC
secondary
#A8C98C
accent
#DA4D8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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