#813DCB#813DCB

#813DCB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.208 H 301.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#813DCB
RGBrgb(129, 61, 203)
HSLhsl(269, 58%, 52%)
HSVhsv(269, 70%, 80%)
CMYKcmyk(36.5%, 70%, 0%, 20.4%)
CIE-LABlab(41.71, 55.88, -62.37)
CIE-LCHlch(41.71, 83.74, 311.86°)
OKLaboklab(52.23% 0.1083 -0.1777)
OKLCHoklch(52.23% 0.208 301.3)
XYZxyz(21.4989, 12.3163, 57.7330)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DCB #87CB3D
analogous
#3D40CB #813DCB #C83DCB
triadic
#813DCB #CB813D #3DCB81
tetradic
#813DCB #CB3D40 #87CB3D #3DCBC8
square
#813DCB #CB3D40 #87CB3D #3DCBC8
split-complementary
#813DCB #CBC83D #40CB3D
monochromatic
#451E70 #632BA0 #813DCB #A06DD8 #C09EE5

Accessibility & contrast

On white

6.06
#813DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#813DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DCB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DCB#FFFFFF#000000##FFFFFF
##813DCB1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#715F80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813dcb;
/* rgb */ color: rgb(129, 61, 203);
/* oklch */ color: oklch(52.2% 0.208 301.3);
Tailwind
colors: {
  custom: {
    50: '#ab78dc',
    500: '#813dcb',
    950: '#000000',
  },
}
SCSS
$custom: #813dcb;
$custom-light: #ab78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#813dcb",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 268.732,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.2081,
    "h": 301.3
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#813DCB
secondary
#B3D193
accent
#E14797
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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