#813DD2#813DD2

#813DD2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.216 H 299.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#813DD2
RGBrgb(129, 61, 210)
HSLhsl(267, 62%, 53%)
HSVhsv(267, 71%, 82%)
CMYKcmyk(38.6%, 71%, 0%, 17.6%)
CIE-LABlab(42.24, 57.58, -65.55)
CIE-LCHlch(42.24, 87.25, 311.29°)
OKLaboklab(52.77% 0.107 -0.1871)
OKLCHoklch(52.77% 0.216 299.8)
XYZxyz(22.3520, 12.6575, 62.2258)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DD2 #8ED23D
analogous
#3D43D2 #813DD2 #CC3DD2
triadic
#813DD2 #D2813D #3DD281
tetradic
#813DD2 #D23D43 #8ED23D #3DD2CC
square
#813DD2 #D23D43 #8ED23D #3DD2CC
split-complementary
#813DD2 #D2CC3D #43D23D
monochromatic
#461C79 #6328AA #813DD2 #A16FDE #C2A0E9

Accessibility & contrast

On white

5.95
#813DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#813DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DD2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DD2#FFFFFF#000000##FFFFFF
##813DD21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#6E6284
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813dd2;
/* rgb */ color: rgb(129, 61, 210);
/* oklch */ color: oklch(52.8% 0.216 299.8);
Tailwind
colors: {
  custom: {
    50: '#ac78e1',
    500: '#813dd2',
    950: '#000000',
  },
}
SCSS
$custom: #813dd2;
$custom-light: #ac78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#813dd2",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 267.383,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.21554,
    "h": 299.8
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#813DD2
secondary
#B8D695
accent
#E5429B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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