#813CD3#813CD3

#813CD3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.218 H 299.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#813CD3
RGBrgb(129, 60, 211)
HSLhsl(267, 63%, 53%)
HSVhsv(267, 72%, 83%)
CMYKcmyk(38.9%, 71.6%, 0%, 17.3%)
CIE-LABlab(42.16, 58.28, -66.27)
CIE-LCHlch(42.16, 88.25, 311.33°)
OKLaboklab(52.73% 0.1078 -0.1892)
OKLCHoklch(52.73% 0.218 299.7)
XYZxyz(22.4240, 12.6017, 62.8664)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CD3 #8ED33C
analogous
#3C42D3 #813CD3 #CC3CD3
triadic
#813CD3 #D3813C #3CD381
tetradic
#813CD3 #D33C42 #8ED33C #3CD3CC
square
#813CD3 #D33C42 #8ED33C #3CD3CC
split-complementary
#813CD3 #D3CC3C #42D33C
monochromatic
#461B79 #6327AB #813CD3 #A16EDE #C2A0EA

Accessibility & contrast

On white

5.97
#813CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#813CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CD3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CD3#FFFFFF#000000##FFFFFF
##813CD31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#6E6284
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813cd3;
/* rgb */ color: rgb(129, 60, 211);
/* oklch */ color: oklch(52.7% 0.218 299.7);
Tailwind
colors: {
  custom: {
    50: '#ac78e2',
    500: '#813cd3',
    950: '#000000',
  },
}
SCSS
$custom: #813cd3;
$custom-light: #ac78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#813cd3",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 267.417,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.21774,
    "h": 299.7
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#813CD3
secondary
#B8D695
accent
#E6429B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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