#813CB3#813CB3

#813CB3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.184 H 307.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#813CB3
RGBrgb(129, 60, 179)
HSLhsl(275, 50%, 47%)
HSVhsv(275, 66%, 70%)
CMYKcmyk(27.9%, 66.5%, 0%, 29.8%)
CIE-LABlab(39.84, 50.66, -51.37)
CIE-LCHlch(39.84, 72.15, 314.60°)
OKLaboklab(50.35% 0.1124 -0.1454)
OKLCHoklch(50.35% 0.184 307.7)
XYZxyz(18.8041, 11.1538, 43.8014)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CB3 #6EB33C
analogous
#463CB3 #813CB3 #B33CAA
triadic
#813CB3 #B3813C #3CB381
tetradic
#813CB3 #B3463C #6EB33C #3CAAB3
square
#813CB3 #B3463C #6EB33C #3CAAB3
split-complementary
#813CB3 #AAB33C #3CB346
monochromatic
#3F1D57 #602D85 #813CB3 #9E62CA #BB90DA

Accessibility & contrast

On white

6.50
#813CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#813CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CB3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CB3#FFFFFF#000000##FFFFFF
##813CB31.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#235FB0
Tritanopia (blue-blind)
#795572
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #813cb3;
/* rgb */ color: rgb(129, 60, 179);
/* oklch */ color: oklch(50.3% 0.184 307.7);
Tailwind
colors: {
  custom: {
    50: '#aa76ca',
    500: '#813cb3',
    950: '#000000',
  },
}
SCSS
$custom: #813cb3;
$custom-light: #aa76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#813cb3",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 274.79,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5035,
    "c": 0.18375,
    "h": 307.7
  },
  "luminance": 0.11154
}

Semantic roles & 50–950 ramp

primary
#813CB3
secondary
#A0C586
accent
#D94E89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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