#813EBD#813EBD

#813EBD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.192 H 304.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#813EBD
RGBrgb(129, 62, 189)
HSLhsl(272, 51%, 49%)
HSVhsv(272, 67%, 74%)
CMYKcmyk(31.7%, 67.2%, 0%, 25.9%)
CIE-LABlab(40.87, 52.04, -55.58)
CIE-LCHlch(40.87, 76.14, 313.12°)
OKLaboklab(51.31% 0.1091 -0.1578)
OKLCHoklch(51.31% 0.192 304.7)
XYZxyz(19.9591, 11.7866, 49.3578)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EBD #7ABD3E
analogous
#423EBD #813EBD #BD3EBA
triadic
#813EBD #BD813E #3EBD81
tetradic
#813EBD #BD423E #7ABD3E #3EBABD
square
#813EBD #BD423E #7ABD3E #3EBABD
split-complementary
#813EBD #BABD3E #3EBD42
monochromatic
#422061 #622F8F #813EBD #9F6ACE #BD98DD

Accessibility & contrast

On white

6.26
#813EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#813EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EBD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EBD#FFFFFF#000000##FFFFFF
##813EBD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#1260BA
Tritanopia (blue-blind)
#765A78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813ebd;
/* rgb */ color: rgb(129, 62, 189);
/* oklch */ color: oklch(51.3% 0.192 304.7);
Tailwind
colors: {
  custom: {
    50: '#aa78d2',
    500: '#813ebd',
    950: '#000000',
  },
}
SCSS
$custom: #813ebd;
$custom-light: #aa78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#813ebd",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 271.654,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.19183,
    "h": 304.7
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#813EBD
secondary
#AAC98E
accent
#DA4E90
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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