#813ECD#813ECD

#813ECD is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.209 H 300.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#813ECD
RGBrgb(129, 62, 205)
HSLhsl(268, 59%, 52%)
HSVhsv(268, 70%, 80%)
CMYKcmyk(37.1%, 69.8%, 0%, 19.6%)
CIE-LABlab(42.03, 55.89, -63.01)
CIE-LCHlch(42.03, 84.23, 311.57°)
OKLaboklab(52.5% 0.1069 -0.1796)
OKLCHoklch(52.5% 0.209 300.8)
XYZxyz(21.7926, 12.5200, 59.0142)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813ECD #8ACD3E
analogous
#3E42CD #813ECD #C93ECD
triadic
#813ECD #CD813E #3ECD81
tetradic
#813ECD #CD3E42 #8ACD3E #3ECDC9
square
#813ECD #CD3E42 #8ACD3E #3ECDC9
split-complementary
#813ECD #CDC93E #42CD3E
monochromatic
#461E73 #632AA3 #813ECD #A16FDA #C09FE6

Accessibility & contrast

On white

5.99
#813ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#813ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813ECD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813ECD#FFFFFF#000000##FFFFFF
##813ECD1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#706081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813ecd;
/* rgb */ color: rgb(129, 62, 205);
/* oklch */ color: oklch(52.5% 0.209 300.8);
Tailwind
colors: {
  custom: {
    50: '#ab78dd',
    500: '#813ecd',
    950: '#000000',
  },
}
SCSS
$custom: #813ecd;
$custom-light: #ab78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#813ecd",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 268.112,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52503,
    "c": 0.20904,
    "h": 300.8
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#813ECD
secondary
#B5D394
accent
#E24699
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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