#813FD0#813FD0

#813FD0 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.211 H 300.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#813FD0
RGBrgb(129, 63, 208)
HSLhsl(267, 61%, 53%)
HSVhsv(267, 70%, 82%)
CMYKcmyk(38%, 69.7%, 0%, 18.4%)
CIE-LABlab(42.42, 56.16, -64.11)
CIE-LCHlch(42.42, 85.22, 311.22°)
OKLaboklab(52.85% 0.1054 -0.1828)
OKLCHoklch(52.85% 0.211 300)
XYZxyz(22.2131, 12.7760, 60.9580)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FD0 #8ED03F
analogous
#3F46D0 #813FD0 #C93FD0
triadic
#813FD0 #D0813F #3FD081
tetradic
#813FD0 #D03F46 #8ED03F #3FD0C9
square
#813FD0 #D03F46 #8ED03F #3FD0C9
split-complementary
#813FD0 #D0C93F #46D03F
monochromatic
#461D77 #6329A9 #813FD0 #A170DC #C2A1E8

Accessibility & contrast

On white

5.91
#813FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#813FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FD0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FD0#FFFFFF#000000##FFFFFF
##813FD01.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#6F6283
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813fd0;
/* rgb */ color: rgb(129, 63, 208);
/* oklch */ color: oklch(52.9% 0.211 300.0);
Tailwind
colors: {
  custom: {
    50: '#ac79df',
    500: '#813fd0',
    950: '#000000',
  },
}
SCSS
$custom: #813fd0;
$custom-light: #ac79df;
$custom-dark: #000000;
JSON
{
  "hex": "#813fd0",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 208
  },
  "hsl": {
    "h": 267.31,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52853,
    "c": 0.21106,
    "h": 300
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#813FD0
secondary
#B8D596
accent
#E4449B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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