#813FDC#813FDC

#813FDC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.224 H 297.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#813FDC
RGBrgb(129, 63, 220)
HSLhsl(265, 69%, 55%)
HSVhsv(265, 71%, 86%)
CMYKcmyk(41.4%, 71.4%, 0%, 13.7%)
CIE-LABlab(43.34, 59.12, -69.50)
CIE-LCHlch(43.34, 91.24, 310.39°)
OKLaboklab(53.79% 0.1033 -0.1987)
OKLCHoklch(53.79% 0.224 297.5)
XYZxyz(23.7457, 13.3890, 69.0295)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FDC #9ADC3F
analogous
#3F4BDC #813FDC #CF3FDC
triadic
#813FDC #DC813F #3FDC81
tetradic
#813FDC #DC3F4B #9ADC3F #3FDCCF
square
#813FDC #DC3F4B #9ADC3F #3FDCCF
split-complementary
#813FDC #DCCF3F #4BDC3F
monochromatic
#471988 #6322BC #813FDC #A373E5 #C5A7EF

Accessibility & contrast

On white

5.71
#813FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#813FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FDC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FDC#FFFFFF#000000##FFFFFF
##813FDC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#6A678A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #813fdc;
/* rgb */ color: rgb(129, 63, 220);
/* oklch */ color: oklch(53.8% 0.224 297.5);
Tailwind
colors: {
  custom: {
    50: '#ad7ae8',
    500: '#813fdc',
    950: '#000000',
  },
}
SCSS
$custom: #813fdc;
$custom-light: #ad7ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#813fdc",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 220
  },
  "hsl": {
    "h": 265.223,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.22391,
    "h": 297.5
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#813FDC
secondary
#C1DC9B
accent
#EC3CA2
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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