#813BDB#813BDB

#813BDB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.227 H 298.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#813BDB
RGBrgb(129, 59, 219)
HSLhsl(266, 69%, 55%)
HSVhsv(266, 73%, 86%)
CMYKcmyk(41.1%, 73.1%, 0%, 14.1%)
CIE-LABlab(42.63, 60.68, -70.09)
CIE-LCHlch(42.63, 92.71, 310.88°)
OKLaboklab(53.26% 0.1071 -0.2004)
OKLCHoklch(53.26% 0.227 298.1)
XYZxyz(23.4001, 12.9091, 68.2630)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BDB #95DB3B
analogous
#3B45DB #813BDB #D13BDB
triadic
#813BDB #DB813B #3BDB81
tetradic
#813BDB #DB3B45 #95DB3B #3BDBD1
square
#813BDB #DB3B45 #95DB3B #3BDBD1
split-complementary
#813BDB #DBD13B #45DB3B
monochromatic
#471883 #6322B7 #813BDB #A26FE4 #C3A2EE

Accessibility & contrast

On white

5.86
#813BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#813BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BDB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BDB#FFFFFF#000000##FFFFFF
##813BDB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#6B6488
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #813bdb;
/* rgb */ color: rgb(129, 59, 219);
/* oklch */ color: oklch(53.3% 0.227 298.1);
Tailwind
colors: {
  custom: {
    50: '#ad77e7',
    500: '#813bdb',
    950: '#000000',
  },
}
SCSS
$custom: #813bdb;
$custom-light: #ad77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#813bdb",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 219
  },
  "hsl": {
    "h": 266.25,
    "s": 68.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53261,
    "c": 0.22722,
    "h": 298.1
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#813BDB
secondary
#BDDB97
accent
#EC3C9F
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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