#813EB4#813EB4

#813EB4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.182 H 307.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#813EB4
RGBrgb(129, 62, 180)
HSLhsl(274, 49%, 47%)
HSVhsv(274, 66%, 71%)
CMYKcmyk(28.3%, 65.6%, 0%, 29.4%)
CIE-LABlab(40.26, 49.92, -51.28)
CIE-LCHlch(40.26, 71.57, 314.23°)
OKLaboklab(50.67% 0.11 -0.1451)
OKLCHoklch(50.67% 0.182 307.2)
XYZxyz(19.0124, 11.4079, 44.3715)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EB4 #71B43E
analogous
#463EB4 #813EB4 #B43EAC
triadic
#813EB4 #B4813E #3EB481
tetradic
#813EB4 #B4463E #71B43E #3EACB4
square
#813EB4 #B4463E #71B43E #3EACB4
split-complementary
#813EB4 #ACB43E #3EB446
monochromatic
#401F59 #602E86 #813EB4 #9E65CA #BB93DA

Accessibility & contrast

On white

6.40
#813EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#813EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EB4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EB4#FFFFFF#000000##FFFFFF
##813EB41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#795774
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813eb4;
/* rgb */ color: rgb(129, 62, 180);
/* oklch */ color: oklch(50.7% 0.182 307.2);
Tailwind
colors: {
  custom: {
    50: '#a978cb',
    500: '#813eb4',
    950: '#000000',
  },
}
SCSS
$custom: #813eb4;
$custom-light: #a978cb;
$custom-dark: #000000;
JSON
{
  "hex": "#813eb4",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 274.068,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.18211,
    "h": 307.2
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#813EB4
secondary
#A3C589
accent
#D84F8B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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