#813FCF#813FCF

#813FCF is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.210 H 300.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#813FCF
RGBrgb(129, 63, 207)
HSLhsl(268, 60%, 53%)
HSVhsv(268, 70%, 81%)
CMYKcmyk(37.7%, 69.6%, 0%, 18.8%)
CIE-LABlab(42.35, 55.91, -63.65)
CIE-LCHlch(42.35, 84.72, 311.30°)
OKLaboklab(52.78% 0.1056 -0.1815)
OKLCHoklch(52.78% 0.21 300.2)
XYZxyz(22.0905, 12.7269, 60.3121)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FCF #8DCF3F
analogous
#3F45CF #813FCF #C93FCF
triadic
#813FCF #CF813F #3FCF81
tetradic
#813FCF #CF3F45 #8DCF3F #3FCFC9
square
#813FCF #CF3F45 #8DCF3F #3FCFC9
split-complementary
#813FCF #CFC93F #45CF3F
monochromatic
#461E76 #632AA7 #813FCF #A170DB #C1A1E7

Accessibility & contrast

On white

5.92
#813FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#813FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FCF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FCF#FFFFFF#000000##FFFFFF
##813FCF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#6F6282
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #813fcf;
/* rgb */ color: rgb(129, 63, 207);
/* oklch */ color: oklch(52.8% 0.210 300.2);
Tailwind
colors: {
  custom: {
    50: '#ac79df',
    500: '#813fcf',
    950: '#000000',
  },
}
SCSS
$custom: #813fcf;
$custom-light: #ac79df;
$custom-dark: #000000;
JSON
{
  "hex": "#813fcf",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 267.5,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.20999,
    "h": 300.2
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#813FCF
secondary
#B7D496
accent
#E3459B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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