#813ED5#813ED5

#813ED5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.218 H 299.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#813ED5
RGBrgb(129, 62, 213)
HSLhsl(267, 64%, 54%)
HSVhsv(267, 71%, 84%)
CMYKcmyk(39.4%, 70.9%, 0%, 16.5%)
CIE-LABlab(42.64, 57.85, -66.64)
CIE-LCHlch(42.64, 88.25, 310.96°)
OKLaboklab(53.12% 0.1055 -0.1903)
OKLCHoklch(53.12% 0.218 299)
XYZxyz(22.7831, 12.9162, 64.2306)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813ED5 #92D53E
analogous
#3E47D5 #813ED5 #CD3ED5
triadic
#813ED5 #D5813E #3ED581
tetradic
#813ED5 #D53E47 #92D53E #3ED5CD
square
#813ED5 #D53E47 #92D53E #3ED5CD
split-complementary
#813ED5 #D5CD3E #47D53E
monochromatic
#471B7D #6326B0 #813ED5 #A270E0 #C3A3EB

Accessibility & contrast

On white

5.86
#813ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#813ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813ED5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813ED5#FFFFFF#000000##FFFFFF
##813ED51.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#6D6386
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #813ed5;
/* rgb */ color: rgb(129, 62, 213);
/* oklch */ color: oklch(53.1% 0.218 299.0);
Tailwind
colors: {
  custom: {
    50: '#ac79e3',
    500: '#813ed5',
    950: '#000000',
  },
}
SCSS
$custom: #813ed5;
$custom-light: #ac79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#813ed5",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 266.623,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53123,
    "c": 0.21758,
    "h": 299
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#813ED5
secondary
#BBD897
accent
#E7419D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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