#813CAF#813CAF

#813CAF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.179 H 308.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#813CAF
RGBrgb(129, 60, 175)
HSLhsl(276, 49%, 46%)
HSVhsv(276, 66%, 69%)
CMYKcmyk(26.3%, 65.7%, 0%, 31.4%)
CIE-LABlab(39.57, 49.74, -49.43)
CIE-LCHlch(39.57, 70.13, 315.18°)
OKLaboklab(50.07% 0.1127 -0.1397)
OKLCHoklch(50.07% 0.179 308.9)
XYZxyz(18.4054, 10.9943, 41.7016)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CAF #6AAF3C
analogous
#473CAF #813CAF #AF3CA3
triadic
#813CAF #AF813C #3CAF81
tetradic
#813CAF #AF473C #6AAF3C #3CA3AF
square
#813CAF #AF473C #6AAF3C #3CA3AF
split-complementary
#813CAF #A3AF3C #3CAF47
monochromatic
#3E1D54 #5F2C81 #813CAF #9F60C8 #BA8DD8

Accessibility & contrast

On white

6.56
#813CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#813CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CAF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CAF#FFFFFF#000000##FFFFFF
##813CAF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#7A5470
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #813caf;
/* rgb */ color: rgb(129, 60, 175);
/* oklch */ color: oklch(50.1% 0.179 308.9);
Tailwind
colors: {
  custom: {
    50: '#a976c7',
    500: '#813caf',
    950: '#000000',
  },
}
SCSS
$custom: #813caf;
$custom-light: #a976c7;
$custom-dark: #000000;
JSON
{
  "hex": "#813caf",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 276,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.17948,
    "h": 308.9
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#813CAF
secondary
#9DC384
accent
#D84F86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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