#813EDB#813EDB

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

Color values

HEX#813EDB
RGBrgb(129, 62, 219)
HSLhsl(266, 69%, 55%)
HSVhsv(266, 72%, 86%)
CMYKcmyk(41.1%, 71.7%, 0%, 14.1%)
CIE-LABlab(43.10, 59.33, -69.32)
CIE-LCHlch(43.10, 91.24, 310.56°)
OKLaboklab(53.6% 0.1044 -0.1981)
OKLCHoklch(53.6% 0.224 297.8)
XYZxyz(23.5588, 13.2264, 68.3158)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EDB #98DB3E
analogous
#3E4ADB #813EDB #CF3EDB
triadic
#813EDB #DB813E #3EDB81
tetradic
#813EDB #DB3E4A #98DB3E #3EDBCF
square
#813EDB #DB3E4A #98DB3E #3EDBCF
split-complementary
#813EDB #DBCF3E #4ADB3E
monochromatic
#471986 #6323B9 #813EDB #A372E5 #C4A5EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##813EDB#FFFFFF#000000##FFFFFF
##813EDB1.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)
#0066E0
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#6A6689
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #813edb;
/* rgb */ color: rgb(129, 62, 219);
/* oklch */ color: oklch(53.6% 0.224 297.8);
Tailwind
colors: {
  custom: {
    50: '#ad79e7',
    500: '#813edb',
    950: '#000000',
  },
}
SCSS
$custom: #813edb;
$custom-light: #ad79e7;
$custom-dark: #000000;
JSON
{
  "hex": "#813edb",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 265.605,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53598,
    "c": 0.22396,
    "h": 297.8
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#813EDB
secondary
#BFDB99
accent
#EB3CA1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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