#813CBB#813CBB

#813CBB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.192 H 305.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#813CBB
RGBrgb(129, 60, 187)
HSLhsl(273, 51%, 48%)
HSVhsv(273, 68%, 73%)
CMYKcmyk(31%, 67.9%, 0%, 26.7%)
CIE-LABlab(40.39, 52.53, -55.19)
CIE-LCHlch(40.39, 76.19, 313.59°)
OKLaboklab(50.92% 0.1116 -0.1566)
OKLCHoklch(50.92% 0.192 305.5)
XYZxyz(19.6368, 11.4868, 48.1868)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CBB #76BB3C
analogous
#413CBB #813CBB #BB3CB5
triadic
#813CBB #BB813C #3CBB81
tetradic
#813CBB #BB413C #76BB3C #3CB5BB
square
#813CBB #BB413C #76BB3C #3CB5BB
split-complementary
#813CBB #B5BB3C #3CBB41
monochromatic
#411E5E #612D8D #813CBB #9F66CE #BC95DD

Accessibility & contrast

On white

6.37
#813CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#813CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CBB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CBB#FFFFFF#000000##FFFFFF
##813CBB1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#775877
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813cbb;
/* rgb */ color: rgb(129, 60, 187);
/* oklch */ color: oklch(50.9% 0.192 305.5);
Tailwind
colors: {
  custom: {
    50: '#aa77d0',
    500: '#813cbb',
    950: '#000000',
  },
}
SCSS
$custom: #813cbb;
$custom-light: #aa77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#813cbb",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 272.598,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.19228,
    "h": 305.5
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#813CBB
secondary
#A7C88B
accent
#DB4D8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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