#813DCA#813DCA

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

Color values

HEX#813DCA
RGBrgb(129, 61, 202)
HSLhsl(269, 57%, 52%)
HSVhsv(269, 70%, 79%)
CMYKcmyk(36.1%, 69.8%, 0%, 20.8%)
CIE-LABlab(41.64, 55.64, -61.91)
CIE-LCHlch(41.64, 83.24, 311.94°)
OKLaboklab(52.15% 0.1084 -0.1764)
OKLCHoklch(52.15% 0.207 301.6)
XYZxyz(21.3801, 12.2688, 57.1074)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DCA #86CA3D
analogous
#3D40CA #813DCA #C83DCA
triadic
#813DCA #CA813D #3DCA81
tetradic
#813DCA #CA3D40 #86CA3D #3DCAC8
square
#813DCA #CA3D40 #86CA3D #3DCAC8
split-complementary
#813DCA #CAC83D #40CA3D
monochromatic
#451E6E #632B9F #813DCA #A06DD7 #BF9DE4

Accessibility & contrast

On white

6.08
#813DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#813DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DCA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DCA#FFFFFF#000000##FFFFFF
##813DCA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#715F7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813dca;
/* rgb */ color: rgb(129, 61, 202);
/* oklch */ color: oklch(52.2% 0.207 301.6);
Tailwind
colors: {
  custom: {
    50: '#ab78db',
    500: '#813dca',
    950: '#000000',
  },
}
SCSS
$custom: #813dca;
$custom-light: #ab78db;
$custom-dark: #000000;
JSON
{
  "hex": "#813dca",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 268.936,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.20703,
    "h": 301.6
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#813DCA
secondary
#B3D092
accent
#E04797
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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