#813FCD#813FCD

#813FCD is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.208 H 300.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#813FCD
RGBrgb(129, 63, 205)
HSLhsl(268, 59%, 53%)
HSVhsv(268, 69%, 80%)
CMYKcmyk(37.1%, 69.3%, 0%, 19.6%)
CIE-LABlab(42.20, 55.42, -62.74)
CIE-LCHlch(42.20, 83.71, 311.46°)
OKLaboklab(52.62% 0.1059 -0.1788)
OKLCHoklch(52.62% 0.208 300.6)
XYZxyz(21.8475, 12.6298, 59.0325)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FCD #8BCD3F
analogous
#3F44CD #813FCD #C83FCD
triadic
#813FCD #CD813F #3FCD81
tetradic
#813FCD #CD3F44 #8BCD3F #3FCDC8
square
#813FCD #CD3F44 #8BCD3F #3FCDC8
split-complementary
#813FCD #CDC83F #44CD3F
monochromatic
#461E74 #632BA4 #813FCD #A170DA #C1A0E6

Accessibility & contrast

On white

5.96
#813FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#813FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FCD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FCD#FFFFFF#000000##FFFFFF
##813FCD1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#706181
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813fcd;
/* rgb */ color: rgb(129, 63, 205);
/* oklch */ color: oklch(52.6% 0.208 300.6);
Tailwind
colors: {
  custom: {
    50: '#ab79dd',
    500: '#813fcd',
    950: '#000000',
  },
}
SCSS
$custom: #813fcd;
$custom-light: #ab79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#813fcd",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 267.887,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.20784,
    "h": 300.6
  },
  "luminance": 0.1263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #813FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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