#813BCA#813BCA

#813BCA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.209 H 301.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#813BCA
RGBrgb(129, 59, 202)
HSLhsl(269, 57%, 51%)
HSVhsv(269, 71%, 79%)
CMYKcmyk(36.1%, 70.8%, 0%, 20.8%)
CIE-LABlab(41.31, 56.56, -62.45)
CIE-LCHlch(41.31, 84.25, 312.17°)
OKLaboklab(51.92% 0.1104 -0.1779)
OKLCHoklch(51.92% 0.209 301.8)
XYZxyz(21.2753, 12.0592, 57.0725)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BCA #84CA3B
analogous
#3B3CCA #813BCA #C93BCA
triadic
#813BCA #CA813B #3BCA81
tetradic
#813BCA #CA3B3C #84CA3B #3BCAC9
square
#813BCA #CA3B3C #84CA3B #3BCAC9
split-complementary
#813BCA #CAC93B #3CCA3B
monochromatic
#441E6D #632B9D #813BCA #A06BD7 #BF9BE4

Accessibility & contrast

On white

6.16
#813BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#813BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BCA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BCA#FFFFFF#000000##FFFFFF
##813BCA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#715D7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813bca;
/* rgb */ color: rgb(129, 59, 202);
/* oklch */ color: oklch(51.9% 0.209 301.8);
Tailwind
colors: {
  custom: {
    50: '#ab77db',
    500: '#813bca',
    950: '#000000',
  },
}
SCSS
$custom: #813bca;
$custom-light: #ab77db;
$custom-dark: #000000;
JSON
{
  "hex": "#813bca",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 269.371,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.20941,
    "h": 301.8
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #813BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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