#813DD9#813DD9

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

Color values

HEX#813DD9
RGBrgb(129, 61, 217)
HSLhsl(266, 67%, 55%)
HSVhsv(266, 72%, 85%)
CMYKcmyk(40.6%, 71.9%, 0%, 14.9%)
CIE-LABlab(42.78, 59.29, -68.69)
CIE-LCHlch(42.78, 90.74, 310.80°)
OKLaboklab(53.32% 0.1057 -0.1963)
OKLCHoklch(53.32% 0.223 298.3)
XYZxyz(23.2432, 13.0140, 66.9196)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DD9 #95D93D
analogous
#3D47D9 #813DD9 #CF3DD9
triadic
#813DD9 #D9813D #3DD981
tetradic
#813DD9 #D93D47 #95D93D #3DD9CF
square
#813DD9 #D93D47 #95D93D #3DD9CF
split-complementary
#813DD9 #D9CF3D #47D93D
monochromatic
#471982 #6324B5 #813DD9 #A270E3 #C3A3ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##813DD9#FFFFFF#000000##FFFFFF
##813DD91.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)
#0065DE
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#6B6487
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #813dd9;
/* rgb */ color: rgb(129, 61, 217);
/* oklch */ color: oklch(53.3% 0.223 298.3);
Tailwind
colors: {
  custom: {
    50: '#ad78e6',
    500: '#813dd9',
    950: '#000000',
  },
}
SCSS
$custom: #813dd9;
$custom-light: #ad78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#813dd9",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 266.154,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53324,
    "c": 0.22295,
    "h": 298.3
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#813DD9
secondary
#BDDA98
accent
#EA3E9F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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