#813FCC#813FCC

#813FCC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.207 H 300.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#813FCC
RGBrgb(129, 63, 204)
HSLhsl(268, 58%, 52%)
HSVhsv(268, 69%, 80%)
CMYKcmyk(36.8%, 69.1%, 0%, 20%)
CIE-LABlab(42.13, 55.18, -62.28)
CIE-LCHlch(42.13, 83.21, 311.54°)
OKLaboklab(52.55% 0.1061 -0.1775)
OKLCHoklch(52.55% 0.207 300.9)
XYZxyz(21.7272, 12.5816, 58.3989)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FCC #8ACC3F
analogous
#3F44CC #813FCC #C83FCC
triadic
#813FCC #CC813F #3FCC81
tetradic
#813FCC #CC3F44 #8ACC3F #3FCCC8
square
#813FCC #CC3F44 #8ACC3F #3FCCC8
split-complementary
#813FCC #CCC83F #44CC3F
monochromatic
#461E72 #632BA3 #813FCC #A16FD9 #C0A0E6

Accessibility & contrast

On white

5.97
#813FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#813FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FCC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FCC#FFFFFF#000000##FFFFFF
##813FCC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#716081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813fcc;
/* rgb */ color: rgb(129, 63, 204);
/* oklch */ color: oklch(52.5% 0.207 300.9);
Tailwind
colors: {
  custom: {
    50: '#ab79dc',
    500: '#813fcc',
    950: '#000000',
  },
}
SCSS
$custom: #813fcc;
$custom-light: #ab79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#813fcc",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 268.085,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.20676,
    "h": 300.9
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#813FCC
secondary
#B5D295
accent
#E14799
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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