#813CB5#813CB5

#813CB5 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.186 H 307.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#813CB5
RGBrgb(129, 60, 181)
HSLhsl(274, 50%, 47%)
HSVhsv(274, 67%, 71%)
CMYKcmyk(28.7%, 66.9%, 0%, 29%)
CIE-LABlab(39.97, 51.13, -52.33)
CIE-LCHlch(39.97, 73.16, 314.33°)
OKLaboklab(50.49% 0.1122 -0.1482)
OKLCHoklch(50.49% 0.186 307.1)
XYZxyz(19.0079, 11.2353, 44.8744)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CB5 #70B53C
analogous
#453CB5 #813CB5 #B53CAC
triadic
#813CB5 #B5813C #3CB581
tetradic
#813CB5 #B5453C #70B53C #3CACB5
square
#813CB5 #B5453C #70B53C #3CACB5
split-complementary
#813CB5 #ACB53C #3CB545
monochromatic
#3F1E59 #602D87 #813CB5 #9E63CB #BB91DB

Accessibility & contrast

On white

6.47
#813CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#813CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CB5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CB5#FFFFFF#000000##FFFFFF
##813CB51.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#205FB2
Tritanopia (blue-blind)
#795673
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #813cb5;
/* rgb */ color: rgb(129, 60, 181);
/* oklch */ color: oklch(50.5% 0.186 307.1);
Tailwind
colors: {
  custom: {
    50: '#aa77cc',
    500: '#813cb5',
    950: '#000000',
  },
}
SCSS
$custom: #813cb5;
$custom-light: #aa77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#813cb5",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 274.215,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.18589,
    "h": 307.1
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#813CB5
secondary
#A2C687
accent
#DA4E8A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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