#813BCC#813BCC

#813BCC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.212 H 301.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#813BCC
RGBrgb(129, 59, 204)
HSLhsl(269, 59%, 52%)
HSVhsv(269, 71%, 80%)
CMYKcmyk(36.8%, 71.1%, 0%, 20%)
CIE-LABlab(41.46, 57.04, -63.36)
CIE-LCHlch(41.46, 85.25, 312.00°)
OKLaboklab(52.07% 0.1101 -0.1806)
OKLCHoklch(52.07% 0.212 301.4)
XYZxyz(21.5137, 12.1546, 58.3277)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BCC #86CC3B
analogous
#3B3ECC #813BCC #CA3BCC
triadic
#813BCC #CC813B #3BCC81
tetradic
#813BCC #CC3B3E #86CC3B #3BCCCA
square
#813BCC #CC3B3E #86CC3B #3BCCCA
split-complementary
#813BCC #CCCA3B #3ECC3B
monochromatic
#451D70 #632AA0 #813BCC #A06CD9 #BF9CE5

Accessibility & contrast

On white

6.12
#813BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#813BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BCC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BCC#FFFFFF#000000##FFFFFF
##813BCC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#715E80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813bcc;
/* rgb */ color: rgb(129, 59, 204);
/* oklch */ color: oklch(52.1% 0.212 301.4);
Tailwind
colors: {
  custom: {
    50: '#ac77dc',
    500: '#813bcc',
    950: '#000000',
  },
}
SCSS
$custom: #813bcc;
$custom-light: #ac77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#813bcc",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 268.966,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.21152,
    "h": 301.4
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#813BCC
secondary
#B3D192
accent
#E24697
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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