#813FD8#813FD8

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

Color values

HEX#813FD8
RGBrgb(129, 63, 216)
HSLhsl(266, 66%, 55%)
HSVhsv(266, 71%, 85%)
CMYKcmyk(40.3%, 70.8%, 0%, 15.3%)
CIE-LABlab(43.03, 58.13, -67.71)
CIE-LCHlch(43.03, 89.24, 310.64°)
OKLaboklab(53.48% 0.104 -0.1934)
OKLCHoklch(53.48% 0.22 298.3)
XYZxyz(23.2223, 13.1797, 66.2729)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FD8 #96D83F
analogous
#3F4AD8 #813FD8 #CD3FD8
triadic
#813FD8 #D8813F #3FD881
tetradic
#813FD8 #D83F4A #96D83F #3FD8CD
square
#813FD8 #D83F4A #96D83F #3FD8CD
split-complementary
#813FD8 #D8CD3F #4AD83F
monochromatic
#471A82 #6325B5 #813FD8 #A272E2 #C4A5ED

Accessibility & contrast

On white

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

On black

3.64
#813FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##813FD8#FFFFFF#000000##FFFFFF
##813FD81.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#6C6587
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #813fd8;
/* rgb */ color: rgb(129, 63, 216);
/* oklch */ color: oklch(53.5% 0.220 298.3);
Tailwind
colors: {
  custom: {
    50: '#ac79e5',
    500: '#813fd8',
    950: '#000000',
  },
}
SCSS
$custom: #813fd8;
$custom-light: #ac79e5;
$custom-dark: #000000;
JSON
{
  "hex": "#813fd8",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 265.882,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.21964,
    "h": 298.3
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#813FD8
secondary
#BEDA99
accent
#E93FA0
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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