#813FCB#813FCB

#813FCB is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.206 H 301.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#813FCB
RGBrgb(129, 63, 203)
HSLhsl(268, 57%, 52%)
HSVhsv(268, 69%, 80%)
CMYKcmyk(36.5%, 69%, 0%, 20.4%)
CIE-LABlab(42.05, 54.93, -61.82)
CIE-LCHlch(42.05, 82.70, 311.62°)
OKLaboklab(52.47% 0.1062 -0.1761)
OKLCHoklch(52.47% 0.206 301.1)
XYZxyz(21.6076, 12.5338, 57.7692)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FCB #89CB3F
analogous
#3F43CB #813FCB #C73FCB
triadic
#813FCB #CB813F #3FCB81
tetradic
#813FCB #CB3F43 #89CB3F #3FCBC7
square
#813FCB #CB3F43 #89CB3F #3FCBC7
split-complementary
#813FCB #CBC73F #43CB3F
monochromatic
#451F71 #632CA1 #813FCB #A16FD8 #C09FE5

Accessibility & contrast

On white

5.99
#813FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#813FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FCB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FCB#FFFFFF#000000##FFFFFF
##813FCB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#716080
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #813fcb;
/* rgb */ color: rgb(129, 63, 203);
/* oklch */ color: oklch(52.5% 0.206 301.1);
Tailwind
colors: {
  custom: {
    50: '#ab79dc',
    500: '#813fcb',
    950: '#000000',
  },
}
SCSS
$custom: #813fcb;
$custom-light: #ab79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#813fcb",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 268.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.20568,
    "h": 301.1
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

primary
#813FCB
secondary
#B5D194
accent
#E14798
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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