#813DDC#813DDC

#813DDC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.226 H 297.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#813DDC
RGBrgb(129, 61, 220)
HSLhsl(266, 69%, 55%)
HSVhsv(266, 72%, 86%)
CMYKcmyk(41.4%, 72.3%, 0%, 13.7%)
CIE-LABlab(43.02, 60.03, -70.02)
CIE-LCHlch(43.02, 92.23, 310.61°)
OKLaboklab(53.56% 0.1051 -0.2002)
OKLCHoklch(53.56% 0.226 297.7)
XYZxyz(23.6369, 13.1715, 68.9933)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DDC #98DC3D
analogous
#3D49DC #813DDC #D03DDC
triadic
#813DDC #DC813D #3DDC81
tetradic
#813DDC #DC3D49 #98DC3D #3DDCD0
square
#813DDC #DC3D49 #98DC3D #3DDCD0
split-complementary
#813DDC #DCD03D #49DC3D
monochromatic
#471886 #6322BA #813DDC #A371E5 #C4A5EF

Accessibility & contrast

On white

5.78
#813DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#813DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DDC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DDC#FFFFFF#000000##FFFFFF
##813DDC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#6A6689
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #813ddc;
/* rgb */ color: rgb(129, 61, 220);
/* oklch */ color: oklch(53.6% 0.226 297.7);
Tailwind
colors: {
  custom: {
    50: '#ad78e8',
    500: '#813ddc',
    950: '#000000',
  },
}
SCSS
$custom: #813ddc;
$custom-light: #ad78e8;
$custom-dark: #000000;
JSON
{
  "hex": "#813ddc",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 220
  },
  "hsl": {
    "h": 265.66,
    "s": 69.432,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53564,
    "c": 0.22611,
    "h": 297.7
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#813DDC
secondary
#BFDC99
accent
#EC3CA1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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