#813BC8#813BC8

#813BC8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.207 H 302.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#813BC8
RGBrgb(129, 59, 200)
HSLhsl(270, 56%, 51%)
HSVhsv(270, 71%, 78%)
CMYKcmyk(35.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(41.16, 56.08, -61.53)
CIE-LCHlch(41.16, 83.25, 312.35°)
OKLaboklab(51.77% 0.1108 -0.1752)
OKLCHoklch(51.77% 0.207 302.3)
XYZxyz(21.0401, 11.9651, 55.8334)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BC8 #82C83B
analogous
#3B3BC8 #813BC8 #C73BC8
triadic
#813BC8 #C8813B #3BC881
tetradic
#813BC8 #C83B3B #82C83B #3BC8C7
square
#813BC8 #C83B3B #82C83B #3BC8C7
split-complementary
#813BC8 #C8C73B #3BC83B
monochromatic
#441E6B #632B9A #813BC8 #A06BD5 #BE9BE3

Accessibility & contrast

On white

6.19
#813BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#813BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BC8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BC8#FFFFFF#000000##FFFFFF
##813BC81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#725D7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813bc8;
/* rgb */ color: rgb(129, 59, 200);
/* oklch */ color: oklch(51.8% 0.207 302.3);
Tailwind
colors: {
  custom: {
    50: '#ab77da',
    500: '#813bc8',
    950: '#000000',
  },
}
SCSS
$custom: #813bc8;
$custom-light: #ab77da;
$custom-dark: #000000;
JSON
{
  "hex": "#813bc8",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 269.787,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.2073,
    "h": 302.3
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#813BC8
secondary
#B0CF90
accent
#DF4894
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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