#813BBF#813BBF

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

Color values

HEX#813BBF
RGBrgb(129, 59, 191)
HSLhsl(272, 53%, 49%)
HSVhsv(272, 69%, 75%)
CMYKcmyk(32.5%, 69.1%, 0%, 25.1%)
CIE-LABlab(40.50, 53.94, -57.35)
CIE-LCHlch(40.50, 78.73, 313.25°)
OKLaboklab(51.09% 0.1121 -0.163)
OKLCHoklch(51.09% 0.198 304.5)
XYZxyz(20.0191, 11.5567, 50.4561)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BBF #79BF3B
analogous
#3F3BBF #813BBF #BF3BBB
triadic
#813BBF #BF813B #3BBF81
tetradic
#813BBF #BF3F3B #79BF3B #3BBBBF
square
#813BBF #BF3F3B #79BF3B #3BBBBF
split-complementary
#813BBF #BBBF3B #3BBF3F
monochromatic
#421E61 #612D90 #813BBF #9F67D0 #BC96DF

Accessibility & contrast

On white

6.34
#813BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#813BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BBF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BBF#FFFFFF#000000##FFFFFF
##813BBF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#755979
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813bbf;
/* rgb */ color: rgb(129, 59, 191);
/* oklch */ color: oklch(51.1% 0.198 304.5);
Tailwind
colors: {
  custom: {
    50: '#aa76d3',
    500: '#813bbf',
    950: '#000000',
  },
}
SCSS
$custom: #813bbf;
$custom-light: #aa76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#813bbf",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 271.818,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.19781,
    "h": 304.5
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#813BBF
secondary
#A9CA8C
accent
#DC4C90
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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