#813ED1#813ED1

#813ED1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.213 H 299.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#813ED1
RGBrgb(129, 62, 209)
HSLhsl(267, 62%, 53%)
HSVhsv(267, 70%, 82%)
CMYKcmyk(38.3%, 70.3%, 0%, 18%)
CIE-LABlab(42.33, 56.87, -64.83)
CIE-LCHlch(42.33, 86.24, 311.26°)
OKLaboklab(52.81% 0.1063 -0.185)
OKLCHoklch(52.81% 0.213 299.9)
XYZxyz(22.2816, 12.7156, 61.5897)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813ED1 #8ED13E
analogous
#3E44D1 #813ED1 #CA3ED1
triadic
#813ED1 #D1813E #3ED181
tetradic
#813ED1 #D13E44 #8ED13E #3ED1CA
square
#813ED1 #D13E44 #8ED13E #3ED1CA
split-complementary
#813ED1 #D1CA3E #44D13E
monochromatic
#461D78 #6328A9 #813ED1 #A16FDD #C2A1E9

Accessibility & contrast

On white

5.93
#813ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#813ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813ED1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813ED1#FFFFFF#000000##FFFFFF
##813ED11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#6F6283
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813ed1;
/* rgb */ color: rgb(129, 62, 209);
/* oklch */ color: oklch(52.8% 0.213 299.9);
Tailwind
colors: {
  custom: {
    50: '#ac79e0',
    500: '#813ed1',
    950: '#000000',
  },
}
SCSS
$custom: #813ed1;
$custom-light: #ac79e0;
$custom-dark: #000000;
JSON
{
  "hex": "#813ed1",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 267.347,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52811,
    "c": 0.21331,
    "h": 299.9
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#813ED1
secondary
#B8D596
accent
#E5439B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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