#813BB3#813BB3

#813BB3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.185 H 307.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#813BB3
RGBrgb(129, 59, 179)
HSLhsl(275, 50%, 47%)
HSVhsv(275, 67%, 70%)
CMYKcmyk(27.9%, 67%, 0%, 29.8%)
CIE-LABlab(39.66, 51.14, -51.65)
CIE-LCHlch(39.66, 72.69, 314.72°)
OKLaboklab(50.22% 0.1135 -0.1462)
OKLCHoklch(50.22% 0.185 307.8)
XYZxyz(18.7522, 11.0500, 43.7841)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BB3 #6DB33B
analogous
#453BB3 #813BB3 #B33BA9
triadic
#813BB3 #B3813B #3BB381
tetradic
#813BB3 #B3453B #6DB33B #3BA9B3
square
#813BB3 #B3453B #6DB33B #3BA9B3
split-complementary
#813BB3 #A9B33B #3BB345
monochromatic
#3F1D57 #602C85 #813BB3 #9E60CB #BA8EDA

Accessibility & contrast

On white

6.54
#813BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#813BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BB3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BB3#FFFFFF#000000##FFFFFF
##813BB31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#215EB0
Tritanopia (blue-blind)
#795572
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #813bb3;
/* rgb */ color: rgb(129, 59, 179);
/* oklch */ color: oklch(50.2% 0.185 307.8);
Tailwind
colors: {
  custom: {
    50: '#aa76ca',
    500: '#813bb3',
    950: '#000000',
  },
}
SCSS
$custom: #813bb3;
$custom-light: #aa76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#813bb3",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 275,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50225,
    "c": 0.1851,
    "h": 307.8
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#813BB3
secondary
#A0C585
accent
#DA4E88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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