#813DCE#813DCE

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

Color values

HEX#813DCE
RGBrgb(129, 61, 206)
HSLhsl(268, 60%, 52%)
HSVhsv(268, 70%, 81%)
CMYKcmyk(37.4%, 70.4%, 0%, 19.2%)
CIE-LABlab(41.94, 56.60, -63.74)
CIE-LCHlch(41.94, 85.25, 311.61°)
OKLaboklab(52.46% 0.1078 -0.1817)
OKLCHoklch(52.46% 0.211 300.7)
XYZxyz(21.8599, 12.4607, 59.6340)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DCE #8ACE3D
analogous
#3D41CE #813DCE #CA3DCE
triadic
#813DCE #CE813D #3DCE81
tetradic
#813DCE #CE3D41 #8ACE3D #3DCECA
square
#813DCE #CE3D41 #8ACE3D #3DCECA
split-complementary
#813DCE #CECA3D #41CE3D
monochromatic
#461D73 #6329A4 #813DCE #A16EDA #C09FE7

Accessibility & contrast

On white

6.01
#813DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#813DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DCE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DCE#FFFFFF#000000##FFFFFF
##813DCE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#706081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813dce;
/* rgb */ color: rgb(129, 61, 206);
/* oklch */ color: oklch(52.5% 0.211 300.7);
Tailwind
colors: {
  custom: {
    50: '#ac78de',
    500: '#813dce',
    950: '#000000',
  },
}
SCSS
$custom: #813dce;
$custom-light: #ac78de;
$custom-dark: #000000;
JSON
{
  "hex": "#813dce",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 268.138,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.21129,
    "h": 300.7
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#813DCE
secondary
#B5D394
accent
#E34599
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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