#813FD7#813FD7

#813FD7 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.219 H 298.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#813FD7
RGBrgb(129, 63, 215)
HSLhsl(266, 66%, 55%)
HSVhsv(266, 71%, 84%)
CMYKcmyk(40%, 70.7%, 0%, 15.7%)
CIE-LABlab(42.96, 57.88, -67.27)
CIE-LCHlch(42.96, 88.74, 310.71°)
OKLaboklab(53.4% 0.1042 -0.1921)
OKLCHoklch(53.4% 0.219 298.5)
XYZxyz(23.0934, 13.1281, 65.5941)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FD7 #95D73F
analogous
#3F49D7 #813FD7 #CD3FD7
triadic
#813FD7 #D7813F #3FD781
tetradic
#813FD7 #D73F49 #95D73F #3FD7CD
square
#813FD7 #D73F49 #95D73F #3FD7CD
split-complementary
#813FD7 #D7CD3F #49D73F
monochromatic
#471B81 #6325B3 #813FD7 #A272E2 #C3A4EC

Accessibility & contrast

On white

5.79
#813FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #813FD7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FD7#FFFFFF#000000##FFFFFF
##813FD71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#6C6587
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #813fd7;
/* rgb */ color: rgb(129, 63, 215);
/* oklch */ color: oklch(53.4% 0.219 298.5);
Tailwind
colors: {
  custom: {
    50: '#ac79e4',
    500: '#813fd7',
    950: '#000000',
  },
}
SCSS
$custom: #813fd7;
$custom-light: #ac79e4;
$custom-dark: #000000;
JSON
{
  "hex": "#813fd7",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 266.053,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.21857,
    "h": 298.5
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#813FD7
secondary
#BDD999
accent
#E83F9F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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