#813DD6#813DD6

#813DD6 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.220 H 298.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#813DD6
RGBrgb(129, 61, 214)
HSLhsl(267, 65%, 54%)
HSVhsv(267, 71%, 84%)
CMYKcmyk(39.7%, 71.5%, 0%, 16.1%)
CIE-LABlab(42.55, 58.56, -67.35)
CIE-LCHlch(42.55, 89.25, 311.00°)
OKLaboklab(53.09% 0.1063 -0.1924)
OKLCHoklch(53.09% 0.22 298.9)
XYZxyz(22.8565, 12.8593, 64.8832)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DD6 #92D63D
analogous
#3D46D6 #813DD6 #CE3DD6
triadic
#813DD6 #D6813D #3DD681
tetradic
#813DD6 #D63D46 #92D63D #3DD6CE
square
#813DD6 #D63D46 #92D63D #3DD6CE
split-complementary
#813DD6 #D6CE3D #46D63D
monochromatic
#471B7E #6325B1 #813DD6 #A270E1 #C3A2EB

Accessibility & contrast

On white

5.88
#813DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#813DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DD6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DD6#FFFFFF#000000##FFFFFF
##813DD61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#6D6386
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813dd6;
/* rgb */ color: rgb(129, 61, 214);
/* oklch */ color: oklch(53.1% 0.220 298.9);
Tailwind
colors: {
  custom: {
    50: '#ac78e4',
    500: '#813dd6',
    950: '#000000',
  },
}
SCSS
$custom: #813dd6;
$custom-light: #ac78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#813dd6",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 266.667,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.21978,
    "h": 298.9
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#813DD6
secondary
#BBD897
accent
#E8409D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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