#813EAF#813EAF

#813EAF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.177 H 308.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#813EAF
RGBrgb(129, 62, 175)
HSLhsl(276, 48%, 46%)
HSVhsv(276, 65%, 69%)
CMYKcmyk(26.3%, 64.6%, 0%, 31.4%)
CIE-LABlab(39.93, 48.76, -48.86)
CIE-LCHlch(39.93, 69.02, 314.94°)
OKLaboklab(50.33% 0.1103 -0.138)
OKLCHoklch(50.33% 0.177 308.6)
XYZxyz(18.5122, 11.2078, 41.7372)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EAF #6CAF3E
analogous
#493EAF #813EAF #AF3EA5
triadic
#813EAF #AF813E #3EAF81
tetradic
#813EAF #AF493E #6CAF3E #3EA5AF
square
#813EAF #AF493E #6CAF3E #3EA5AF
split-complementary
#813EAF #A5AF3E #3EAF49
monochromatic
#3E1E55 #602E82 #813EAF #9E63C8 #BA90D8

Accessibility & contrast

On white

6.48
#813EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#813EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EAF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EAF#FFFFFF#000000##FFFFFF
##813EAF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #813eaf;
/* rgb */ color: rgb(129, 62, 175);
/* oklch */ color: oklch(50.3% 0.177 308.6);
Tailwind
colors: {
  custom: {
    50: '#a977c7',
    500: '#813eaf',
    950: '#000000',
  },
}
SCSS
$custom: #813eaf;
$custom-light: #a977c7;
$custom-dark: #000000;
JSON
{
  "hex": "#813eaf",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 275.575,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.1767,
    "h": 308.6
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#813EAF
secondary
#9FC386
accent
#D75187
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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