#813FCE#813FCE

#813FCE is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.209 H 300.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#813FCE
RGBrgb(129, 63, 206)
HSLhsl(268, 59%, 53%)
HSVhsv(268, 69%, 81%)
CMYKcmyk(37.4%, 69.4%, 0%, 19.2%)
CIE-LABlab(42.27, 55.67, -63.19)
CIE-LCHlch(42.27, 84.22, 311.38°)
OKLaboklab(52.7% 0.1058 -0.1802)
OKLCHoklch(52.7% 0.209 300.4)
XYZxyz(21.9686, 12.6782, 59.6703)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FCE #8CCE3F
analogous
#3F45CE #813FCE #C83FCE
triadic
#813FCE #CE813F #3FCE81
tetradic
#813FCE #CE3F45 #8CCE3F #3FCEC8
square
#813FCE #CE3F45 #8CCE3F #3FCEC8
split-complementary
#813FCE #CEC83F #45CE3F
monochromatic
#461E75 #632AA6 #813FCE #A170DA #C1A1E7

Accessibility & contrast

On white

5.94
#813FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#813FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FCE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FCE#FFFFFF#000000##FFFFFF
##813FCE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#706182
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813fce;
/* rgb */ color: rgb(129, 63, 206);
/* oklch */ color: oklch(52.7% 0.209 300.4);
Tailwind
colors: {
  custom: {
    50: '#ab79de',
    500: '#813fce',
    950: '#000000',
  },
}
SCSS
$custom: #813fce;
$custom-light: #ab79de;
$custom-dark: #000000;
JSON
{
  "hex": "#813fce",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 267.692,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.20891,
    "h": 300.4
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#813FCE
secondary
#B7D395
accent
#E3459A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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