#813ED2#813ED2

#813ED2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.214 H 299.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#813ED2
RGBrgb(129, 62, 210)
HSLhsl(267, 62%, 53%)
HSVhsv(267, 70%, 82%)
CMYKcmyk(38.6%, 70.5%, 0%, 17.6%)
CIE-LABlab(42.41, 57.11, -65.28)
CIE-LCHlch(42.41, 86.74, 311.18°)
OKLaboklab(52.89% 0.1061 -0.1863)
OKLCHoklch(52.89% 0.214 299.7)
XYZxyz(22.4058, 12.7653, 62.2438)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813ED2 #8FD23E
analogous
#3E45D2 #813ED2 #CB3ED2
triadic
#813ED2 #D2813E #3ED281
tetradic
#813ED2 #D23E45 #8FD23E #3ED2CB
square
#813ED2 #D23E45 #8FD23E #3ED2CB
split-complementary
#813ED2 #D2CB3E #45D23E
monochromatic
#461C79 #6328AB #813ED2 #A170DE #C2A1E9

Accessibility & contrast

On white

5.91
#813ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#813ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813ED2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813ED2#FFFFFF#000000##FFFFFF
##813ED21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#6E6284
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813ed2;
/* rgb */ color: rgb(129, 62, 210);
/* oklch */ color: oklch(52.9% 0.214 299.7);
Tailwind
colors: {
  custom: {
    50: '#ac79e1',
    500: '#813ed2',
    950: '#000000',
  },
}
SCSS
$custom: #813ed2;
$custom-light: #ac79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#813ed2",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 267.162,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.21438,
    "h": 299.7
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#813ED2
secondary
#B9D696
accent
#E5439C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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