#813FD9#813FD9

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

Color values

HEX#813FD9
RGBrgb(129, 63, 217)
HSLhsl(266, 67%, 55%)
HSVhsv(266, 71%, 85%)
CMYKcmyk(40.6%, 71%, 0%, 14.9%)
CIE-LABlab(43.11, 58.37, -68.16)
CIE-LCHlch(43.11, 89.74, 310.58°)
OKLaboklab(53.56% 0.1038 -0.1948)
OKLCHoklch(53.56% 0.221 298.1)
XYZxyz(23.3519, 13.2315, 66.9558)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FD9 #97D93F
analogous
#3F4AD9 #813FD9 #CE3FD9
triadic
#813FD9 #D9813F #3FD981
tetradic
#813FD9 #D93F4A #97D93F #3FD9CE
square
#813FD9 #D93F4A #97D93F #3FD9CE
split-complementary
#813FD9 #D9CE3F #4AD93F
monochromatic
#471A84 #6324B7 #813FD9 #A372E3 #C4A5ED

Accessibility & contrast

On white

5.76
#813FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#813FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FD9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FD9#FFFFFF#000000##FFFFFF
##813FD91.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#6B6588
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #813fd9;
/* rgb */ color: rgb(129, 63, 217);
/* oklch */ color: oklch(53.6% 0.221 298.1);
Tailwind
colors: {
  custom: {
    50: '#ad79e6',
    500: '#813fd9',
    950: '#000000',
  },
}
SCSS
$custom: #813fd9;
$custom-light: #ad79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#813fd9",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 265.714,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53555,
    "c": 0.22071,
    "h": 298.1
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#813FD9
secondary
#BFDA9A
accent
#EA3EA0
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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