#813BCD#813BCD

#813BCD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.213 H 301.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#813BCD
RGBrgb(129, 59, 205)
HSLhsl(269, 59%, 52%)
HSVhsv(269, 71%, 80%)
CMYKcmyk(37.1%, 71.2%, 0%, 19.6%)
CIE-LABlab(41.54, 57.28, -63.82)
CIE-LCHlch(41.54, 85.75, 311.91°)
OKLaboklab(52.15% 0.1099 -0.182)
OKLCHoklch(52.15% 0.213 301.1)
XYZxyz(21.6340, 12.2027, 58.9614)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BCD #87CD3B
analogous
#3B3ECD #813BCD #CA3BCD
triadic
#813BCD #CD813B #3BCD81
tetradic
#813BCD #CD3B3E #87CD3B #3BCDCA
square
#813BCD #CD3B3E #87CD3B #3BCDCA
split-complementary
#813BCD #CDCA3B #3ECD3B
monochromatic
#451D71 #6329A2 #813BCD #A06CD9 #C09DE6

Accessibility & contrast

On white

6.10
#813BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#813BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BCD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BCD#FFFFFF#000000##FFFFFF
##813BCD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#705F80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813bcd;
/* rgb */ color: rgb(129, 59, 205);
/* oklch */ color: oklch(52.2% 0.213 301.1);
Tailwind
colors: {
  custom: {
    50: '#ac77dd',
    500: '#813bcd',
    950: '#000000',
  },
}
SCSS
$custom: #813bcd;
$custom-light: #ac77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#813bcd",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 268.767,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.21257,
    "h": 301.1
  },
  "luminance": 0.12203
}

Semantic roles & 50–950 ramp

primary
#813BCD
secondary
#B3D292
accent
#E34597
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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