#813AD2#813AD2

#813AD2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.219 H 300.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#813AD2
RGBrgb(129, 58, 210)
HSLhsl(268, 63%, 53%)
HSVhsv(268, 72%, 82%)
CMYKcmyk(38.6%, 72.4%, 0%, 17.6%)
CIE-LABlab(41.76, 58.94, -66.34)
CIE-LCHlch(41.76, 88.74, 311.62°)
OKLaboklab(52.43% 0.1099 -0.1894)
OKLCHoklch(52.43% 0.219 300.1)
XYZxyz(22.1963, 12.3462, 62.1739)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AD2 #8BD23A
analogous
#3A3FD2 #813AD2 #CD3AD2
triadic
#813AD2 #D2813A #3AD281
tetradic
#813AD2 #D23A3F #8BD23A #3AD2CD
square
#813AD2 #D23A3F #8BD23A #3AD2CD
split-complementary
#813AD2 #D2CD3A #3FD23A
monochromatic
#461B77 #6326A8 #813AD2 #A16CDD #C19EE9

Accessibility & contrast

On white

6.05
#813AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#813AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813AD2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813AD2#FFFFFF#000000##FFFFFF
##813AD21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#6E6083
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813ad2;
/* rgb */ color: rgb(129, 58, 210);
/* oklch */ color: oklch(52.4% 0.219 300.1);
Tailwind
colors: {
  custom: {
    50: '#ac76e1',
    500: '#813ad2',
    950: '#000000',
  },
}
SCSS
$custom: #813ad2;
$custom-light: #ac76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#813ad2",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 268.026,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.21893,
    "h": 300.1
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#813AD2
secondary
#B6D593
accent
#E64299
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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