#813CCC#813CCC

#813CCC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.210 H 301.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#813CCC
RGBrgb(129, 60, 204)
HSLhsl(269, 59%, 52%)
HSVhsv(269, 71%, 80%)
CMYKcmyk(36.8%, 70.6%, 0%, 20%)
CIE-LABlab(41.62, 56.58, -63.10)
CIE-LCHlch(41.62, 84.75, 311.88°)
OKLaboklab(52.19% 0.1091 -0.1798)
OKLCHoklch(52.19% 0.21 301.2)
XYZxyz(21.5656, 12.2584, 58.3450)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CCC #87CC3C
analogous
#3C3FCC #813CCC #C93CCC
triadic
#813CCC #CC813C #3CCC81
tetradic
#813CCC #CC3C3F #87CC3C #3CCCC9
square
#813CCC #CC3C3F #87CC3C #3CCCC9
split-complementary
#813CCC #CCC93C #3FCC3C
monochromatic
#451D70 #632AA1 #813CCC #A06DD9 #C09DE5

Accessibility & contrast

On white

6.08
#813CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#813CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CCC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CCC#FFFFFF#000000##FFFFFF
##813CCC1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#715F80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813ccc;
/* rgb */ color: rgb(129, 60, 204);
/* oklch */ color: oklch(52.2% 0.210 301.2);
Tailwind
colors: {
  custom: {
    50: '#ab77dc',
    500: '#813ccc',
    950: '#000000',
  },
}
SCSS
$custom: #813ccc;
$custom-light: #ab77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#813ccc",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 268.75,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.21034,
    "h": 301.2
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#813CCC
secondary
#B3D192
accent
#E24697
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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