#813EBA#813EBA

#813EBA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.189 H 305.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#813EBA
RGBrgb(129, 62, 186)
HSLhsl(272, 50%, 49%)
HSVhsv(272, 67%, 73%)
CMYKcmyk(30.6%, 66.7%, 0%, 27.1%)
CIE-LABlab(40.67, 51.33, -54.15)
CIE-LCHlch(40.67, 74.62, 313.47°)
OKLaboklab(51.1% 0.1095 -0.1536)
OKLCHoklch(51.1% 0.189 305.5)
XYZxyz(19.6369, 11.6577, 47.6605)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EBA #77BA3E
analogous
#433EBA #813EBA #BA3EB5
triadic
#813EBA #BA813E #3EBA81
tetradic
#813EBA #BA433E #77BA3E #3EB5BA
square
#813EBA #BA433E #77BA3E #3EB5BA
split-complementary
#813EBA #B5BA3E #3EBA43
monochromatic
#411F5E #612F8C #813EBA #9F68CD #BC96DC

Accessibility & contrast

On white

6.30
#813EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#813EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EBA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EBA#FFFFFF#000000##FFFFFF
##813EBA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#1A60B7
Tritanopia (blue-blind)
#775977
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813eba;
/* rgb */ color: rgb(129, 62, 186);
/* oklch */ color: oklch(51.1% 0.189 305.5);
Tailwind
colors: {
  custom: {
    50: '#aa78cf',
    500: '#813eba',
    950: '#000000',
  },
}
SCSS
$custom: #813eba;
$custom-light: #aa78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#813eba",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 272.419,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.1886,
    "h": 305.5
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#813EBA
secondary
#A7C88C
accent
#DA4E8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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