#813BBE#813BBE

#813BBE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.197 H 304.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#813BBE
RGBrgb(129, 59, 190)
HSLhsl(272, 53%, 49%)
HSVhsv(272, 69%, 75%)
CMYKcmyk(32.1%, 68.9%, 0%, 25.5%)
CIE-LABlab(40.43, 53.71, -56.88)
CIE-LCHlch(40.43, 78.23, 313.36°)
OKLaboklab(51.02% 0.1123 -0.1616)
OKLCHoklch(51.02% 0.197 304.8)
XYZxyz(19.9094, 11.5129, 49.8786)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BBE #78BE3B
analogous
#403BBE #813BBE #BE3BBA
triadic
#813BBE #BE813B #3BBE81
tetradic
#813BBE #BE403B #78BE3B #3BBABE
square
#813BBE #BE403B #78BE3B #3BBABE
split-complementary
#813BBE #BABE3B #3BBE40
monochromatic
#421E61 #612C8F #813BBE #9F67D0 #BC95DE

Accessibility & contrast

On white

6.36
#813BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#813BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BBE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BBE#FFFFFF#000000##FFFFFF
##813BBE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#035FBB
Tritanopia (blue-blind)
#765978
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813bbe;
/* rgb */ color: rgb(129, 59, 190);
/* oklch */ color: oklch(51.0% 0.197 304.8);
Tailwind
colors: {
  custom: {
    50: '#aa76d2',
    500: '#813bbe',
    950: '#000000',
  },
}
SCSS
$custom: #813bbe;
$custom-light: #aa76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#813bbe",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 272.061,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.19675,
    "h": 304.8
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#813BBE
secondary
#A8CA8B
accent
#DC4C8F
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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