#813ECA#813ECA

#813ECA is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.206 H 301.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#813ECA
RGBrgb(129, 62, 202)
HSLhsl(269, 57%, 52%)
HSVhsv(269, 69%, 79%)
CMYKcmyk(36.1%, 69.3%, 0%, 20.8%)
CIE-LABlab(41.81, 55.17, -61.64)
CIE-LCHlch(41.81, 82.72, 311.83°)
OKLaboklab(52.27% 0.1074 -0.1756)
OKLCHoklch(52.27% 0.206 301.5)
XYZxyz(21.4340, 12.3765, 57.1253)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813ECA #87CA3E
analogous
#3E41CA #813ECA #C73ECA
triadic
#813ECA #CA813E #3ECA81
tetradic
#813ECA #CA3E41 #87CA3E #3ECAC7
square
#813ECA #CA3E41 #87CA3E #3ECAC7
split-complementary
#813ECA #CAC73E #41CA3E
monochromatic
#451F6F #632C9F #813ECA #A06ED7 #C09EE4

Accessibility & contrast

On white

6.04
#813ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#813ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813ECA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813ECA#FFFFFF#000000##FFFFFF
##813ECA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#715F7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813eca;
/* rgb */ color: rgb(129, 62, 202);
/* oklch */ color: oklch(52.3% 0.206 301.5);
Tailwind
colors: {
  custom: {
    50: '#ab78db',
    500: '#813eca',
    950: '#000000',
  },
}
SCSS
$custom: #813eca;
$custom-light: #ab78db;
$custom-dark: #000000;
JSON
{
  "hex": "#813eca",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 268.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.20583,
    "h": 301.5
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#813ECA
secondary
#B3D193
accent
#E04897
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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