#813BD4#813BD4

#813BD4 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.220 H 299.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#813BD4
RGBrgb(129, 59, 212)
HSLhsl(267, 64%, 53%)
HSVhsv(267, 72%, 83%)
CMYKcmyk(39.2%, 72.2%, 0%, 16.9%)
CIE-LABlab(42.07, 58.97, -66.98)
CIE-LCHlch(42.07, 89.24, 311.36°)
OKLaboklab(52.7% 0.1085 -0.1913)
OKLCHoklch(52.7% 0.22 299.6)
XYZxyz(22.4979, 12.5483, 63.5113)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BD4 #8ED43B
analogous
#3B41D4 #813BD4 #CE3BD4
triadic
#813BD4 #D4813B #3BD481
tetradic
#813BD4 #D43B41 #8ED43B #3BD4CE
square
#813BD4 #D43B41 #8ED43B #3BD4CE
split-complementary
#813BD4 #D4CE3B #41D43B
monochromatic
#461B7A #6326AC #813BD4 #A16DDF #C29FEA

Accessibility & contrast

On white

5.98
#813BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#813BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BD4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BD4#FFFFFF#000000##FFFFFF
##813BD41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#6E6184
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813bd4;
/* rgb */ color: rgb(129, 59, 212);
/* oklch */ color: oklch(52.7% 0.220 299.6);
Tailwind
colors: {
  custom: {
    50: '#ac77e2',
    500: '#813bd4',
    950: '#000000',
  },
}
SCSS
$custom: #813bd4;
$custom-light: #ac77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#813bd4",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 267.451,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.527,
    "c": 0.21991,
    "h": 299.6
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#813BD4
secondary
#B8D694
accent
#E7419B
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #813BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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