#813CCA#813CCA

#813CCA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.208 H 301.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#813CCA
RGBrgb(129, 60, 202)
HSLhsl(269, 57%, 51%)
HSVhsv(269, 70%, 79%)
CMYKcmyk(36.1%, 70.3%, 0%, 20.8%)
CIE-LABlab(41.47, 56.10, -62.18)
CIE-LCHlch(41.47, 83.75, 312.06°)
OKLaboklab(52.04% 0.1094 -0.1772)
OKLCHoklch(52.04% 0.208 301.7)
XYZxyz(21.3272, 12.1630, 57.0898)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CCA #85CA3C
analogous
#3C3ECA #813CCA #C83CCA
triadic
#813CCA #CA813C #3CCA81
tetradic
#813CCA #CA3C3E #85CA3C #3CCAC8
square
#813CCA #CA3C3E #85CA3C #3CCAC8
split-complementary
#813CCA #CAC83C #3ECA3C
monochromatic
#451E6E #632B9E #813CCA #A06CD7 #BF9CE4

Accessibility & contrast

On white

6.12
#813CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#813CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CCA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CCA#FFFFFF#000000##FFFFFF
##813CCA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#715E7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813cca;
/* rgb */ color: rgb(129, 60, 202);
/* oklch */ color: oklch(52.0% 0.208 301.7);
Tailwind
colors: {
  custom: {
    50: '#ab77db',
    500: '#813cca',
    950: '#000000',
  },
}
SCSS
$custom: #813cca;
$custom-light: #ab77db;
$custom-dark: #000000;
JSON
{
  "hex": "#813cca",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 269.155,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.20823,
    "h": 301.7
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#813CCA
secondary
#B2D092
accent
#E14796
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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