#813FCA#813FCA

#813FCA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.205 H 301.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#813FCA
RGBrgb(129, 63, 202)
HSLhsl(268, 57%, 52%)
HSVhsv(268, 69%, 79%)
CMYKcmyk(36.1%, 68.8%, 0%, 20.8%)
CIE-LABlab(41.98, 54.69, -61.36)
CIE-LCHlch(41.98, 82.20, 311.71°)
OKLaboklab(52.4% 0.1064 -0.1748)
OKLCHoklch(52.4% 0.205 301.3)
XYZxyz(21.4889, 12.4863, 57.1436)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FCA #88CA3F
analogous
#3F43CA #813FCA #C73FCA
triadic
#813FCA #CA813F #3FCA81
tetradic
#813FCA #CA3F43 #88CA3F #3FCAC7
square
#813FCA #CA3F43 #88CA3F #3FCAC7
split-complementary
#813FCA #CAC73F #43CA3F
monochromatic
#451F70 #632CA0 #813FCA #A06FD7 #C09FE4

Accessibility & contrast

On white

6.00
#813FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #813FCA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FCA#FFFFFF#000000##FFFFFF
##813FCA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #813fca;
/* rgb */ color: rgb(129, 63, 202);
/* oklch */ color: oklch(52.4% 0.205 301.3);
Tailwind
colors: {
  custom: {
    50: '#ab79db',
    500: '#813fca',
    950: '#000000',
  },
}
SCSS
$custom: #813fca;
$custom-light: #ab79db;
$custom-dark: #000000;
JSON
{
  "hex": "#813fca",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 268.489,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.20461,
    "h": 301.3
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#813FCA
secondary
#B4D194
accent
#E04898
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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