#813DCC#813DCC

#813DCC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.209 H 301.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#813DCC
RGBrgb(129, 61, 204)
HSLhsl(269, 58%, 52%)
HSVhsv(269, 70%, 80%)
CMYKcmyk(36.8%, 70.1%, 0%, 20%)
CIE-LABlab(41.79, 56.12, -62.83)
CIE-LCHlch(41.79, 84.24, 311.77°)
OKLaboklab(52.31% 0.1081 -0.1791)
OKLCHoklch(52.31% 0.209 301.1)
XYZxyz(21.6184, 12.3641, 58.3626)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DCC #88CC3D
analogous
#3D41CC #813DCC #C83DCC
triadic
#813DCC #CC813D #3DCC81
tetradic
#813DCC #CC3D41 #88CC3D #3DCCC8
square
#813DCC #CC3D41 #88CC3D #3DCCC8
split-complementary
#813DCC #CCC83D #41CC3D
monochromatic
#451E71 #632AA1 #813DCC #A06DD9 #C09EE5

Accessibility & contrast

On white

6.05
#813DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#813DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DCC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DCC#FFFFFF#000000##FFFFFF
##813DCC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#715F80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813dcc;
/* rgb */ color: rgb(129, 61, 204);
/* oklch */ color: oklch(52.3% 0.209 301.1);
Tailwind
colors: {
  custom: {
    50: '#ab78dc',
    500: '#813dcc',
    950: '#000000',
  },
}
SCSS
$custom: #813dcc;
$custom-light: #ab78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#813dcc",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 268.531,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.20916,
    "h": 301.1
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

primary
#813DCC
secondary
#B4D293
accent
#E24698
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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