#813BAD#813BAD

#813BAD is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.179 H 309.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#813BAD
RGBrgb(129, 59, 173)
HSLhsl(277, 49%, 45%)
HSVhsv(277, 66%, 68%)
CMYKcmyk(25.4%, 65.9%, 0%, 32.2%)
CIE-LABlab(39.26, 49.77, -48.74)
CIE-LCHlch(39.26, 69.66, 315.60°)
OKLaboklab(49.81% 0.114 -0.1377)
OKLCHoklch(49.81% 0.179 309.6)
XYZxyz(18.1586, 10.8125, 40.6575)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BAD #67AD3B
analogous
#483BAD #813BAD #AD3BA0
triadic
#813BAD #AD813B #3BAD81
tetradic
#813BAD #AD483B #67AD3B #3BA0AD
square
#813BAD #AD483B #67AD3B #3BA0AD
split-complementary
#813BAD #A0AD3B #3BAD48
monochromatic
#3D1C52 #5F2B7F #813BAD #9F5DC8 #BA8BD7

Accessibility & contrast

On white

6.64
#813BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#813BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BAD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BAD#FFFFFF#000000##FFFFFF
##813BAD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#2A5EAA
Tritanopia (blue-blind)
#7B526F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #813bad;
/* rgb */ color: rgb(129, 59, 173);
/* oklch */ color: oklch(49.8% 0.179 309.6);
Tailwind
colors: {
  custom: {
    50: '#a976c6',
    500: '#813bad',
    950: '#000000',
  },
}
SCSS
$custom: #813bad;
$custom-light: #a976c6;
$custom-dark: #000000;
JSON
{
  "hex": "#813bad",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 276.842,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.17874,
    "h": 309.6
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#813BAD
secondary
#9BC282
accent
#D94F84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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