#813EB7#813EB7

#813EB7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.185 H 306.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#813EB7
RGBrgb(129, 62, 183)
HSLhsl(273, 49%, 48%)
HSVhsv(273, 66%, 72%)
CMYKcmyk(29.5%, 66.1%, 0%, 28.2%)
CIE-LABlab(40.46, 50.62, -52.72)
CIE-LCHlch(40.46, 73.09, 313.84°)
OKLaboklab(50.88% 0.1097 -0.1494)
OKLCHoklch(50.88% 0.185 306.3)
XYZxyz(19.3213, 11.5315, 45.9985)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EB7 #74B73E
analogous
#443EB7 #813EB7 #B73EB0
triadic
#813EB7 #B7813E #3EB781
tetradic
#813EB7 #B7443E #74B73E #3EB0B7
square
#813EB7 #B7443E #74B73E #3EB0B7
split-complementary
#813EB7 #B0B73E #3EB744
monochromatic
#411F5C #612F89 #813EB7 #9F67CB #BB94DB

Accessibility & contrast

On white

6.35
#813EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#813EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EB7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EB7#FFFFFF#000000##FFFFFF
##813EB71.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2060B4
Tritanopia (blue-blind)
#785875
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813eb7;
/* rgb */ color: rgb(129, 62, 183);
/* oklch */ color: oklch(50.9% 0.185 306.3);
Tailwind
colors: {
  custom: {
    50: '#aa78cd',
    500: '#813eb7',
    950: '#000000',
  },
}
SCSS
$custom: #813eb7;
$custom-light: #aa78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#813eb7",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 273.223,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.18535,
    "h": 306.3
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#813EB7
secondary
#A5C68A
accent
#D94F8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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