#813DC8#813DC8

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

Color values

HEX#813DC8
RGBrgb(129, 61, 200)
HSLhsl(269, 56%, 51%)
HSVhsv(269, 70%, 78%)
CMYKcmyk(35.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(41.49, 55.15, -60.99)
CIE-LCHlch(41.49, 82.23, 312.12°)
OKLaboklab(52% 0.1087 -0.1737)
OKLCHoklch(52% 0.205 302.1)
XYZxyz(21.1448, 12.1747, 55.8683)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DC8 #84C83D
analogous
#3D3EC8 #813DC8 #C73DC8
triadic
#813DC8 #C8813D #3DC881
tetradic
#813DC8 #C83D3E #84C83D #3DC8C7
square
#813DC8 #C83D3E #84C83D #3DC8C7
split-complementary
#813DC8 #C8C73D #3EC83D
monochromatic
#441F6C #632C9C #813DC8 #A06DD6 #BF9CE3

Accessibility & contrast

On white

6.11
#813DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#813DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DC8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DC8#FFFFFF#000000##FFFFFF
##813DC81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#725E7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813dc8;
/* rgb */ color: rgb(129, 61, 200);
/* oklch */ color: oklch(52.0% 0.205 302.1);
Tailwind
colors: {
  custom: {
    50: '#ab78da',
    500: '#813dc8',
    950: '#000000',
  },
}
SCSS
$custom: #813dc8;
$custom-light: #ab78da;
$custom-dark: #000000;
JSON
{
  "hex": "#813dc8",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 269.353,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.2049,
    "h": 302.1
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#813DC8
secondary
#B1CF92
accent
#DF4996
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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