#813EB3#813EB3

#813EB3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.181 H 307.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#813EB3
RGBrgb(129, 62, 179)
HSLhsl(274, 49%, 47%)
HSVhsv(274, 65%, 70%)
CMYKcmyk(27.9%, 65.4%, 0%, 29.8%)
CIE-LABlab(40.19, 49.69, -50.80)
CIE-LCHlch(40.19, 71.06, 314.37°)
OKLaboklab(50.61% 0.1101 -0.1437)
OKLCHoklch(50.61% 0.181 307.4)
XYZxyz(18.9109, 11.3673, 43.8370)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EB3 #70B33E
analogous
#463EB3 #813EB3 #B33EAB
triadic
#813EB3 #B3813E #3EB381
tetradic
#813EB3 #B3463E #70B33E #3EABB3
square
#813EB3 #B3463E #70B33E #3EABB3
split-complementary
#813EB3 #ABB33E #3EB346
monochromatic
#3F1F58 #602E86 #813EB3 #9E65CA #BB92D9

Accessibility & contrast

On white

6.42
#813EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#813EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EB3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EB3#FFFFFF#000000##FFFFFF
##813EB31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#795673
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813eb3;
/* rgb */ color: rgb(129, 62, 179);
/* oklch */ color: oklch(50.6% 0.181 307.4);
Tailwind
colors: {
  custom: {
    50: '#a978ca',
    500: '#813eb3',
    950: '#000000',
  },
}
SCSS
$custom: #813eb3;
$custom-light: #a978ca;
$custom-dark: #000000;
JSON
{
  "hex": "#813eb3",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 274.359,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.18103,
    "h": 307.4
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#813EB3
secondary
#A2C588
accent
#D8508A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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