#813CCD#813CCD

#813CCD is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.211 H 301.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#813CCD
RGBrgb(129, 60, 205)
HSLhsl(269, 59%, 52%)
HSVhsv(269, 71%, 80%)
CMYKcmyk(37.1%, 70.7%, 0%, 19.6%)
CIE-LABlab(41.70, 56.82, -63.55)
CIE-LCHlch(41.70, 85.25, 311.80°)
OKLaboklab(52.27% 0.1089 -0.1812)
OKLCHoklch(52.27% 0.211 301)
XYZxyz(21.6859, 12.3065, 58.9787)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CCD #88CD3C
analogous
#3C3FCD #813CCD #CA3CCD
triadic
#813CCD #CD813C #3CCD81
tetradic
#813CCD #CD3C3F #88CD3C #3CCDCA
square
#813CCD #CD3C3F #88CD3C #3CCDCA
split-complementary
#813CCD #CDCA3C #3FCD3C
monochromatic
#451D71 #632AA2 #813CCD #A06DD9 #C09DE6

Accessibility & contrast

On white

6.07
#813CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#813CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CCD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CCD#FFFFFF#000000##FFFFFF
##813CCD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#705F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813ccd;
/* rgb */ color: rgb(129, 60, 205);
/* oklch */ color: oklch(52.3% 0.211 301.0);
Tailwind
colors: {
  custom: {
    50: '#ac77dd',
    500: '#813ccd',
    950: '#000000',
  },
}
SCSS
$custom: #813ccd;
$custom-light: #ac77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#813ccd",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 268.552,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.2114,
    "h": 301
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#813CCD
secondary
#B4D293
accent
#E24598
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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