#813DB8#813DB8

#813DB8 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.188 H 306.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#813DB8
RGBrgb(129, 61, 184)
HSLhsl(273, 50%, 48%)
HSVhsv(273, 67%, 72%)
CMYKcmyk(29.9%, 66.8%, 0%, 27.8%)
CIE-LABlab(40.35, 51.34, -53.48)
CIE-LCHlch(40.35, 74.14, 313.83°)
OKLaboklab(50.83% 0.1108 -0.1516)
OKLCHoklch(50.83% 0.188 306.2)
XYZxyz(19.3719, 11.4655, 46.5306)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DB8 #74B83D
analogous
#443DB8 #813DB8 #B83DB1
triadic
#813DB8 #B8813D #3DB881
tetradic
#813DB8 #B8443D #74B83D #3DB1B8
square
#813DB8 #B8443D #74B83D #3DB1B8
split-complementary
#813DB8 #B1B83D #3DB844
monochromatic
#411F5C #612E8A #813DB8 #9F66CC #BB94DB

Accessibility & contrast

On white

6.38
#813DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#813DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DB8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DB8#FFFFFF#000000##FFFFFF
##813DB81.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#1C5FB5
Tritanopia (blue-blind)
#785875
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813db8;
/* rgb */ color: rgb(129, 61, 184);
/* oklch */ color: oklch(50.8% 0.188 306.2);
Tailwind
colors: {
  custom: {
    50: '#aa77ce',
    500: '#813db8',
    950: '#000000',
  },
}
SCSS
$custom: #813db8;
$custom-light: #aa77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#813db8",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 273.171,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.18776,
    "h": 306.2
  },
  "luminance": 0.11465
}

Semantic roles & 50–950 ramp

primary
#813DB8
secondary
#A5C78A
accent
#DA4E8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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