#813DCF#813DCF

#813DCF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.212 H 300.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#813DCF
RGBrgb(129, 61, 207)
HSLhsl(268, 60%, 53%)
HSVhsv(268, 71%, 81%)
CMYKcmyk(37.7%, 70.5%, 0%, 18.8%)
CIE-LABlab(42.01, 56.85, -64.19)
CIE-LCHlch(42.01, 85.75, 311.53°)
OKLaboklab(52.54% 0.1076 -0.1831)
OKLCHoklch(52.54% 0.212 300.4)
XYZxyz(21.9817, 12.5094, 60.2759)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DCF #8BCF3D
analogous
#3D42CF #813DCF #CA3DCF
triadic
#813DCF #CF813D #3DCF81
tetradic
#813DCF #CF3D42 #8BCF3D #3DCFCA
square
#813DCF #CF3D42 #8BCF3D #3DCFCA
split-complementary
#813DCF #CFCA3D #42CF3D
monochromatic
#461D75 #6329A6 #813DCF #A16EDB #C19FE7

Accessibility & contrast

On white

6.00
#813DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#813DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DCF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DCF#FFFFFF#000000##FFFFFF
##813DCF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#6F6182
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813dcf;
/* rgb */ color: rgb(129, 61, 207);
/* oklch */ color: oklch(52.5% 0.212 300.4);
Tailwind
colors: {
  custom: {
    50: '#ac78df',
    500: '#813dcf',
    950: '#000000',
  },
}
SCSS
$custom: #813dcf;
$custom-light: #ac78df;
$custom-dark: #000000;
JSON
{
  "hex": "#813dcf",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 267.945,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.21236,
    "h": 300.4
  },
  "luminance": 0.1251
}

Semantic roles & 50–950 ramp

primary
#813DCF
secondary
#B6D494
accent
#E34499
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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