#813EBE#813EBE

#813EBE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.193 H 304.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#813EBE
RGBrgb(129, 62, 190)
HSLhsl(271, 51%, 49%)
HSVhsv(271, 67%, 75%)
CMYKcmyk(32.1%, 67.4%, 0%, 25.5%)
CIE-LABlab(40.95, 52.28, -56.05)
CIE-LCHlch(40.95, 76.65, 313.01°)
OKLaboklab(51.38% 0.109 -0.1592)
OKLCHoklch(51.38% 0.193 304.4)
XYZxyz(20.0681, 11.8302, 49.9314)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EBE #7BBE3E
analogous
#413EBE #813EBE #BE3EBB
triadic
#813EBE #BE813E #3EBE81
tetradic
#813EBE #BE413E #7BBE3E #3EBBBE
square
#813EBE #BE413E #7BBE3E #3EBBBE
split-complementary
#813EBE #BBBE3E #3EBE41
monochromatic
#422062 #622F90 #813EBE #9F6BCF #BD99DE

Accessibility & contrast

On white

6.24
#813EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#813EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EBE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EBE#FFFFFF#000000##FFFFFF
##813EBE1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0F61BB
Tritanopia (blue-blind)
#765B79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813ebe;
/* rgb */ color: rgb(129, 62, 190);
/* oklch */ color: oklch(51.4% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#aa78d2',
    500: '#813ebe',
    950: '#000000',
  },
}
SCSS
$custom: #813ebe;
$custom-light: #aa78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#813ebe",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 271.406,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.19292,
    "h": 304.4
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#813EBE
secondary
#ABC98E
accent
#DA4E91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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