#813DBB#813DBB

#813DBB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.191 H 305.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#813DBB
RGBrgb(129, 61, 187)
HSLhsl(272, 51%, 49%)
HSVhsv(272, 67%, 73%)
CMYKcmyk(31%, 67.4%, 0%, 26.7%)
CIE-LABlab(40.56, 52.05, -54.91)
CIE-LCHlch(40.56, 75.66, 313.47°)
OKLaboklab(51.04% 0.1105 -0.1558)
OKLCHoklch(51.04% 0.191 305.3)
XYZxyz(19.6897, 11.5926, 48.2044)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DBB #77BB3D
analogous
#423DBB #813DBB #BB3DB6
triadic
#813DBB #BB813D #3DBB81
tetradic
#813DBB #BB423D #77BB3D #3DB6BB
square
#813DBB #BB423D #77BB3D #3DB6BB
split-complementary
#813DBB #B6BB3D #3DBB42
monochromatic
#411F5F #612E8D #813DBB #9F68CE #BC96DD

Accessibility & contrast

On white

6.33
#813DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#813DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DBB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DBB#FFFFFF#000000##FFFFFF
##813DBB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#1560B8
Tritanopia (blue-blind)
#775977
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813dbb;
/* rgb */ color: rgb(129, 61, 187);
/* oklch */ color: oklch(51.0% 0.191 305.3);
Tailwind
colors: {
  custom: {
    50: '#aa77d0',
    500: '#813dbb',
    950: '#000000',
  },
}
SCSS
$custom: #813dbb;
$custom-light: #aa77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#813dbb",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 272.381,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.19099,
    "h": 305.3
  },
  "luminance": 0.11592
}

Semantic roles & 50–950 ramp

primary
#813DBB
secondary
#A7C88C
accent
#DA4E8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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