#813DBE#813DBE

#813DBE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.194 H 304.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#813DBE
RGBrgb(129, 61, 190)
HSLhsl(272, 51%, 49%)
HSVhsv(272, 68%, 75%)
CMYKcmyk(32.1%, 67.9%, 0%, 25.5%)
CIE-LABlab(40.77, 52.76, -56.33)
CIE-LCHlch(40.77, 77.18, 313.13°)
OKLaboklab(51.26% 0.1101 -0.16)
OKLCHoklch(51.26% 0.194 304.5)
XYZxyz(20.0142, 11.7224, 49.9135)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DBE #7ABE3D
analogous
#413DBE #813DBE #BE3DBB
triadic
#813DBE #BE813D #3DBE81
tetradic
#813DBE #BE413D #7ABE3D #3DBBBE
square
#813DBE #BE413D #7ABE3D #3DBBBE
split-complementary
#813DBE #BBBE3D #3DBE41
monochromatic
#421F61 #622E90 #813DBE #9F69CF #BD98DE

Accessibility & contrast

On white

6.28
#813DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#813DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DBE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DBE#FFFFFF#000000##FFFFFF
##813DBE1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0B60BB
Tritanopia (blue-blind)
#765A79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813dbe;
/* rgb */ color: rgb(129, 61, 190);
/* oklch */ color: oklch(51.3% 0.194 304.5);
Tailwind
colors: {
  custom: {
    50: '#aa77d2',
    500: '#813dbe',
    950: '#000000',
  },
}
SCSS
$custom: #813dbe;
$custom-light: #aa77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#813dbe",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 271.628,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5126,
    "c": 0.19421,
    "h": 304.5
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#813DBE
secondary
#AAC98D
accent
#DB4D90
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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