#813ACC#813ACC

#813ACC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.213 H 301.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#813ACC
RGBrgb(129, 58, 204)
HSLhsl(269, 59%, 51%)
HSVhsv(269, 72%, 80%)
CMYKcmyk(36.8%, 71.6%, 0%, 20%)
CIE-LABlab(41.30, 57.49, -63.62)
CIE-LCHlch(41.30, 85.75, 312.10°)
OKLaboklab(51.96% 0.111 -0.1814)
OKLCHoklch(51.96% 0.213 301.5)
XYZxyz(21.4628, 12.0528, 58.3107)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813ACC #85CC3A
analogous
#3A3CCC #813ACC #CA3ACC
triadic
#813ACC #CC813A #3ACC81
tetradic
#813ACC #CC3A3C #85CC3A #3ACCCA
square
#813ACC #CC3A3C #85CC3A #3ACCCA
split-complementary
#813ACC #CCCA3A #3CCC3A
monochromatic
#451D6F #6329A0 #813ACC #A06BD9 #BF9BE5

Accessibility & contrast

On white

6.16
#813ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #813ACC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813ACC#FFFFFF#000000##FFFFFF
##813ACC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #813acc;
/* rgb */ color: rgb(129, 58, 204);
/* oklch */ color: oklch(52.0% 0.213 301.5);
Tailwind
colors: {
  custom: {
    50: '#ac76dc',
    500: '#813acc',
    950: '#000000',
  },
}
SCSS
$custom: #813acc;
$custom-light: #ac76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#813acc",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 269.178,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.21267,
    "h": 301.5
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#813ACC
secondary
#B2D191
accent
#E24696
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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