#813CBD#813CBD

#813CBD is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.194 H 304.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#813CBD
RGBrgb(129, 60, 189)
HSLhsl(272, 52%, 49%)
HSVhsv(272, 68%, 74%)
CMYKcmyk(31.7%, 68.3%, 0%, 25.9%)
CIE-LABlab(40.53, 53.00, -56.14)
CIE-LCHlch(40.53, 77.20, 313.35°)
OKLaboklab(51.07% 0.1113 -0.1594)
OKLCHoklch(51.07% 0.194 304.9)
XYZxyz(19.8524, 11.5731, 49.3222)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CBD #78BD3C
analogous
#413CBD #813CBD #BD3CB9
triadic
#813CBD #BD813C #3CBD81
tetradic
#813CBD #BD413C #78BD3C #3CB9BD
square
#813CBD #BD413C #78BD3C #3CB9BD
split-complementary
#813CBD #B9BD3C #3CBD41
monochromatic
#421F60 #612D8F #813CBD #9F67CF #BC96DE

Accessibility & contrast

On white

6.34
#813CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#813CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CBD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CBD#FFFFFF#000000##FFFFFF
##813CBD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0C60BA
Tritanopia (blue-blind)
#765978
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813cbd;
/* rgb */ color: rgb(129, 60, 189);
/* oklch */ color: oklch(51.1% 0.194 304.9);
Tailwind
colors: {
  custom: {
    50: '#aa77d2',
    500: '#813cbd',
    950: '#000000',
  },
}
SCSS
$custom: #813cbd;
$custom-light: #aa77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#813cbd",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 272.093,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.19442,
    "h": 304.9
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#813CBD
secondary
#A8C98C
accent
#DB4D8F
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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