#813BCB#813BCB

#813BCB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.210 H 301.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#813BCB
RGBrgb(129, 59, 203)
HSLhsl(269, 58%, 51%)
HSVhsv(269, 71%, 80%)
CMYKcmyk(36.5%, 70.9%, 0%, 20.4%)
CIE-LABlab(41.39, 56.80, -62.90)
CIE-LCHlch(41.39, 84.75, 312.08°)
OKLaboklab(52% 0.1102 -0.1793)
OKLCHoklch(52% 0.21 301.6)
XYZxyz(21.3941, 12.1068, 57.6980)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BCB #85CB3B
analogous
#3B3DCB #813BCB #C93BCB
triadic
#813BCB #CB813B #3BCB81
tetradic
#813BCB #CB3B3D #85CB3B #3BCBC9
square
#813BCB #CB3B3D #85CB3B #3BCBC9
split-complementary
#813BCB #CBC93B #3DCB3B
monochromatic
#451D6E #632A9F #813BCB #A06BD8 #BF9CE5

Accessibility & contrast

On white

6.14
#813BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#813BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BCB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BCB#FFFFFF#000000##FFFFFF
##813BCB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#715E7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813bcb;
/* rgb */ color: rgb(129, 59, 203);
/* oklch */ color: oklch(52.0% 0.210 301.6);
Tailwind
colors: {
  custom: {
    50: '#ab77dc',
    500: '#813bcb',
    950: '#000000',
  },
}
SCSS
$custom: #813bcb;
$custom-light: #ab77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#813bcb",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 269.167,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.21046,
    "h": 301.6
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#813BCB
secondary
#B2D191
accent
#E14796
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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