#813CCB#813CCB

#813CCB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.209 H 301.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#813CCB
RGBrgb(129, 60, 203)
HSLhsl(269, 58%, 52%)
HSVhsv(269, 70%, 80%)
CMYKcmyk(36.5%, 70.4%, 0%, 20.4%)
CIE-LABlab(41.55, 56.34, -62.64)
CIE-LCHlch(41.55, 84.25, 311.97°)
OKLaboklab(52.11% 0.1093 -0.1785)
OKLCHoklch(52.11% 0.209 301.5)
XYZxyz(21.4460, 12.2105, 57.7153)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CCB #86CB3C
analogous
#3C3FCB #813CCB #C93CCB
triadic
#813CCB #CB813C #3CCB81
tetradic
#813CCB #CB3C3F #86CB3C #3CCBC9
square
#813CCB #CB3C3F #86CB3C #3CCBC9
split-complementary
#813CCB #CBC93C #3FCB3C
monochromatic
#451E6F #632A9F #813CCB #A06CD8 #BF9DE5

Accessibility & contrast

On white

6.10
#813CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#813CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CCB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CCB#FFFFFF#000000##FFFFFF
##813CCB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#715E7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813ccb;
/* rgb */ color: rgb(129, 60, 203);
/* oklch */ color: oklch(52.1% 0.209 301.5);
Tailwind
colors: {
  custom: {
    50: '#ab77dc',
    500: '#813ccb',
    950: '#000000',
  },
}
SCSS
$custom: #813ccb;
$custom-light: #ab77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#813ccb",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 268.951,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.20929,
    "h": 301.5
  },
  "luminance": 0.12211
}

Semantic roles & 50–950 ramp

primary
#813CCB
secondary
#B3D192
accent
#E14797
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #813CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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