#813CB2#813CB2

#813CB2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.183 H 308.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#813CB2
RGBrgb(129, 60, 178)
HSLhsl(275, 50%, 47%)
HSVhsv(275, 66%, 70%)
CMYKcmyk(27.5%, 66.3%, 0%, 30.2%)
CIE-LABlab(39.77, 50.43, -50.89)
CIE-LCHlch(39.77, 71.64, 314.74°)
OKLaboklab(50.28% 0.1125 -0.144)
OKLCHoklch(50.28% 0.183 308)
XYZxyz(18.7033, 11.1135, 43.2707)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CB2 #6DB23C
analogous
#463CB2 #813CB2 #B23CA8
triadic
#813CB2 #B2813C #3CB281
tetradic
#813CB2 #B2463C #6DB23C #3CA8B2
square
#813CB2 #B2463C #6DB23C #3CA8B2
split-complementary
#813CB2 #A8B23C #3CB246
monochromatic
#3F1D56 #602D84 #813CB2 #9E61CA #BA8FD9

Accessibility & contrast

On white

6.52
#813CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#813CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CB2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CB2#FFFFFF#000000##FFFFFF
##813CB21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#245EAF
Tritanopia (blue-blind)
#795572
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #813cb2;
/* rgb */ color: rgb(129, 60, 178);
/* oklch */ color: oklch(50.3% 0.183 308.0);
Tailwind
colors: {
  custom: {
    50: '#a976ca',
    500: '#813cb2',
    950: '#000000',
  },
}
SCSS
$custom: #813cb2;
$custom-light: #a976ca;
$custom-dark: #000000;
JSON
{
  "hex": "#813cb2",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 275.085,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.18269,
    "h": 308
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#813CB2
secondary
#A0C486
accent
#D94F88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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