#813BAC#813BAC

#813BAC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.178 H 309.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#813BAC
RGBrgb(129, 59, 172)
HSLhsl(277, 49%, 45%)
HSVhsv(277, 66%, 67%)
CMYKcmyk(25%, 65.7%, 0%, 32.5%)
CIE-LABlab(39.20, 49.54, -48.25)
CIE-LCHlch(39.20, 69.16, 315.76°)
OKLaboklab(49.74% 0.1141 -0.1362)
OKLCHoklch(49.74% 0.178 309.9)
XYZxyz(18.0622, 10.7740, 40.1498)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BAC #66AC3B
analogous
#483BAC #813BAC #AC3B9F
triadic
#813BAC #AC813B #3BAC81
tetradic
#813BAC #AC483B #66AC3B #3B9FAC
square
#813BAC #AC483B #66AC3B #3B9FAC
split-complementary
#813BAC #9FAC3B #3BAC48
monochromatic
#3D1C51 #5F2B7E #813BAC #9F5DC7 #BA8AD7

Accessibility & contrast

On white

6.66
#813BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#813BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BAC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BAC#FFFFFF#000000##FFFFFF
##813BAC1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#2B5DA9
Tritanopia (blue-blind)
#7B526E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #813bac;
/* rgb */ color: rgb(129, 59, 172);
/* oklch */ color: oklch(49.7% 0.178 309.9);
Tailwind
colors: {
  custom: {
    50: '#a976c5',
    500: '#813bac',
    950: '#000000',
  },
}
SCSS
$custom: #813bac;
$custom-light: #a976c5;
$custom-dark: #000000;
JSON
{
  "hex": "#813bac",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 277.168,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.17768,
    "h": 309.9
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#813BAC
secondary
#9AC181
accent
#D84F84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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