#813DBF#813DBF

#813DBF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.195 H 304.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#813DBF
RGBrgb(129, 61, 191)
HSLhsl(271, 52%, 49%)
HSVhsv(271, 68%, 75%)
CMYKcmyk(32.5%, 68.1%, 0%, 25.1%)
CIE-LABlab(40.84, 53.00, -56.80)
CIE-LCHlch(40.84, 77.69, 313.02°)
OKLaboklab(51.33% 0.11 -0.1613)
OKLCHoklch(51.33% 0.195 304.3)
XYZxyz(20.1238, 11.7663, 50.4911)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DBF #7BBF3D
analogous
#403DBF #813DBF #BF3DBC
triadic
#813DBF #BF813D #3DBF81
tetradic
#813DBF #BF403D #7BBF3D #3DBCBF
square
#813DBF #BF403D #7BBF3D #3DBCBF
split-complementary
#813DBF #BCBF3D #3DBF40
monochromatic
#421F62 #622E91 #813DBF #9F6ACF #BD98DE

Accessibility & contrast

On white

6.26
#813DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#813DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DBF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DBF#FFFFFF#000000##FFFFFF
##813DBF1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0760BC
Tritanopia (blue-blind)
#755A79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813dbf;
/* rgb */ color: rgb(129, 61, 191);
/* oklch */ color: oklch(51.3% 0.195 304.3);
Tailwind
colors: {
  custom: {
    50: '#aa77d3',
    500: '#813dbf',
    950: '#000000',
  },
}
SCSS
$custom: #813dbf;
$custom-light: #aa77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#813dbf",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 271.385,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.19527,
    "h": 304.3
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#813DBF
secondary
#ABCA8E
accent
#DB4D91
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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