#813CDB#813CDB

#813CDB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.226 H 298.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#813CDB
RGBrgb(129, 60, 219)
HSLhsl(266, 69%, 55%)
HSVhsv(266, 73%, 86%)
CMYKcmyk(41.1%, 72.6%, 0%, 14.1%)
CIE-LABlab(42.78, 60.23, -69.84)
CIE-LCHlch(42.78, 92.22, 310.78°)
OKLaboklab(53.37% 0.1062 -0.1997)
OKLCHoklch(53.37% 0.226 298)
XYZxyz(23.4520, 13.0129, 68.2803)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CDB #96DB3C
analogous
#3C46DB #813CDB #D13CDB
triadic
#813CDB #DB813C #3CDB81
tetradic
#813CDB #DB3C46 #96DB3C #3CDBD1
square
#813CDB #DB3C46 #96DB3C #3CDBD1
split-complementary
#813CDB #DBD13C #46DB3C
monochromatic
#471884 #6322B8 #813CDB #A270E5 #C4A3EE

Accessibility & contrast

On white

5.83
#813CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#813CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CDB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CDB#FFFFFF#000000##FFFFFF
##813CDB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#6A6588
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #813cdb;
/* rgb */ color: rgb(129, 60, 219);
/* oklch */ color: oklch(53.4% 0.226 298.0);
Tailwind
colors: {
  custom: {
    50: '#ad78e7',
    500: '#813cdb',
    950: '#000000',
  },
}
SCSS
$custom: #813cdb;
$custom-light: #ad78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#813cdb",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 266.038,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53372,
    "c": 0.22614,
    "h": 298
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#813CDB
secondary
#BEDB98
accent
#EC3C9F
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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