#813EBC#813EBC

#813EBC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.191 H 304.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#813EBC
RGBrgb(129, 62, 188)
HSLhsl(272, 50%, 49%)
HSVhsv(272, 67%, 74%)
CMYKcmyk(31.4%, 67%, 0%, 26.3%)
CIE-LABlab(40.81, 51.80, -55.10)
CIE-LCHlch(40.81, 75.63, 313.23°)
OKLaboklab(51.24% 0.1093 -0.1564)
OKLCHoklch(51.24% 0.191 304.9)
XYZxyz(19.8510, 11.7433, 48.7881)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EBC #79BC3E
analogous
#423EBC #813EBC #BC3EB8
triadic
#813EBC #BC813E #3EBC81
tetradic
#813EBC #BC423E #79BC3E #3EB8BC
square
#813EBC #BC423E #79BC3E #3EB8BC
split-complementary
#813EBC #B8BC3E #3EBC42
monochromatic
#422060 #612F8E #813EBC #9F6ACE #BC98DD

Accessibility & contrast

On white

6.27
#813EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#813EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EBC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EBC#FFFFFF#000000##FFFFFF
##813EBC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#1560B9
Tritanopia (blue-blind)
#765A78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813ebc;
/* rgb */ color: rgb(129, 62, 188);
/* oklch */ color: oklch(51.2% 0.191 304.9);
Tailwind
colors: {
  custom: {
    50: '#aa78d1',
    500: '#813ebc',
    950: '#000000',
  },
}
SCSS
$custom: #813ebc;
$custom-light: #aa78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#813ebc",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 271.905,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.19075,
    "h": 304.9
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#813EBC
secondary
#A9C98D
accent
#DA4E8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #813EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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