#813EBF#813EBF

#813EBF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.194 H 304.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#813EBF
RGBrgb(129, 62, 191)
HSLhsl(271, 51%, 50%)
HSVhsv(271, 68%, 75%)
CMYKcmyk(32.5%, 67.5%, 0%, 25.1%)
CIE-LABlab(41.02, 52.52, -56.52)
CIE-LCHlch(41.02, 77.15, 312.90°)
OKLaboklab(51.46% 0.1089 -0.1605)
OKLCHoklch(51.46% 0.194 304.2)
XYZxyz(20.1777, 11.8740, 50.5090)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EBF #7CBF3E
analogous
#413EBF #813EBF #BF3EBC
triadic
#813EBF #BF813E #3EBF81
tetradic
#813EBF #BF413E #7CBF3E #3EBCBF
square
#813EBF #BF413E #7CBF3E #3EBCBF
split-complementary
#813EBF #BCBF3E #3EBF41
monochromatic
#432063 #622F91 #813EBF #9F6BCF #BD99DE

Accessibility & contrast

On white

6.22
#813EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#813EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EBF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EBF#FFFFFF#000000##FFFFFF
##813EBF1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0B61BC
Tritanopia (blue-blind)
#755B79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813ebf;
/* rgb */ color: rgb(129, 62, 191);
/* oklch */ color: oklch(51.5% 0.194 304.2);
Tailwind
colors: {
  custom: {
    50: '#aa78d3',
    500: '#813ebf',
    950: '#000000',
  },
}
SCSS
$custom: #813ebf;
$custom-light: #aa78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#813ebf",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 271.163,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.19399,
    "h": 304.2
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

primary
#813EBF
secondary
#ABCA8F
accent
#DA4D91
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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