#813CD5#813CD5

#813CD5 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.220 H 299.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#813CD5
RGBrgb(129, 60, 213)
HSLhsl(267, 65%, 54%)
HSVhsv(267, 72%, 84%)
CMYKcmyk(39.4%, 71.8%, 0%, 16.5%)
CIE-LABlab(42.31, 58.77, -67.17)
CIE-LCHlch(42.31, 89.25, 311.18°)
OKLaboklab(52.89% 0.1074 -0.1918)
OKLCHoklch(52.89% 0.22 299.2)
XYZxyz(22.6763, 12.7027, 64.1950)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CD5 #90D53C
analogous
#3C43D5 #813CD5 #CE3CD5
triadic
#813CD5 #D5813C #3CD581
tetradic
#813CD5 #D53C43 #90D53C #3CD5CE
square
#813CD5 #D53C43 #90D53C #3CD5CE
split-complementary
#813CD5 #D5CE3C #43D53C
monochromatic
#471B7C #6326AE #813CD5 #A26EE0 #C2A1EB

Accessibility & contrast

On white

5.93
#813CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#813CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CD5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CD5#FFFFFF#000000##FFFFFF
##813CD51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#6D6285
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813cd5;
/* rgb */ color: rgb(129, 60, 213);
/* oklch */ color: oklch(52.9% 0.220 299.2);
Tailwind
colors: {
  custom: {
    50: '#ac78e3',
    500: '#813cd5',
    950: '#000000',
  },
}
SCSS
$custom: #813cd5;
$custom-light: #ac78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#813cd5",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 267.059,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.21984,
    "h": 299.2
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#813CD5
secondary
#BAD796
accent
#E8409C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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