#813DAF#813DAF

#813DAF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.178 H 308.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#813DAF
RGBrgb(129, 61, 175)
HSLhsl(276, 48%, 46%)
HSVhsv(276, 65%, 69%)
CMYKcmyk(26.3%, 65.1%, 0%, 31.4%)
CIE-LABlab(39.75, 49.25, -49.15)
CIE-LCHlch(39.75, 69.58, 315.06°)
OKLaboklab(50.2% 0.1115 -0.1389)
OKLCHoklch(50.2% 0.178 308.8)
XYZxyz(18.4583, 11.1001, 41.7193)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DAF #6BAF3D
analogous
#483DAF #813DAF #AF3DA4
triadic
#813DAF #AF813D #3DAF81
tetradic
#813DAF #AF483D #6BAF3D #3DA4AF
square
#813DAF #AF483D #6BAF3D #3DA4AF
split-complementary
#813DAF #A4AF3D #3DAF48
monochromatic
#3E1D54 #602D82 #813DAF #9F61C8 #BA8FD8

Accessibility & contrast

On white

6.52
#813DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#813DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DAF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DAF#FFFFFF#000000##FFFFFF
##813DAF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#2A5FAC
Tritanopia (blue-blind)
#7A5471
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #813daf;
/* rgb */ color: rgb(129, 61, 175);
/* oklch */ color: oklch(50.2% 0.178 308.8);
Tailwind
colors: {
  custom: {
    50: '#a977c7',
    500: '#813daf',
    950: '#000000',
  },
}
SCSS
$custom: #813daf;
$custom-light: #a977c7;
$custom-dark: #000000;
JSON
{
  "hex": "#813daf",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 275.789,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.502,
    "c": 0.1781,
    "h": 308.8
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#813DAF
secondary
#9EC385
accent
#D85087
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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