#813CC8#813CC8

#813CC8 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.206 H 302.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#813CC8
RGBrgb(129, 60, 200)
HSLhsl(270, 56%, 51%)
HSVhsv(270, 70%, 78%)
CMYKcmyk(35.5%, 70%, 0%, 21.6%)
CIE-LABlab(41.33, 55.62, -61.26)
CIE-LCHlch(41.33, 82.74, 312.24°)
OKLaboklab(51.88% 0.1098 -0.1745)
OKLCHoklch(51.88% 0.206 302.2)
XYZxyz(21.0920, 12.0689, 55.8507)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CC8 #83C83C
analogous
#3C3DC8 #813CC8 #C73CC8
triadic
#813CC8 #C8813C #3CC881
tetradic
#813CC8 #C83C3D #83C83C #3CC8C7
square
#813CC8 #C83C3D #83C83C #3CC8C7
split-complementary
#813CC8 #C8C73C #3DC83C
monochromatic
#441E6B #632C9B #813CC8 #A06CD5 #BF9BE3

Accessibility & contrast

On white

6.15
#813CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#813CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CC8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CC8#FFFFFF#000000##FFFFFF
##813CC81.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#725D7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813cc8;
/* rgb */ color: rgb(129, 60, 200);
/* oklch */ color: oklch(51.9% 0.206 302.2);
Tailwind
colors: {
  custom: {
    50: '#ab77da',
    500: '#813cc8',
    950: '#000000',
  },
}
SCSS
$custom: #813cc8;
$custom-light: #ab77da;
$custom-dark: #000000;
JSON
{
  "hex": "#813cc8",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 269.571,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51884,
    "c": 0.20611,
    "h": 302.2
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#813CC8
secondary
#B0CF91
accent
#DF4995
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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