#813CE3#813CE3

#813CE3 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.0% C 0.235 H 296.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#813CE3
RGBrgb(129, 60, 227)
HSLhsl(265, 75%, 56%)
HSVhsv(265, 74%, 89%)
CMYKcmyk(43.2%, 73.6%, 0%, 11%)
CIE-LABlab(43.43, 62.20, -73.35)
CIE-LCHlch(43.43, 96.17, 310.30°)
OKLaboklab(54.02% 0.1044 -0.21)
OKLCHoklch(54.02% 0.235 296.4)
XYZxyz(24.5306, 13.4444, 73.9607)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CE3 #9EE33C
analogous
#3C4BE3 #813CE3 #D43CE3
triadic
#813CE3 #E3813C #3CE381
tetradic
#813CE3 #E33C4B #9EE33C #3CE3D4
square
#813CE3 #E33C4B #9EE33C #3CE3D4
split-complementary
#813CE3 #E3D43C #4BE33C
monochromatic
#481590 #621CC5 #813CE3 #A472EB #C6A7F2

Accessibility & contrast

On white

5.69
#813CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#813CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CE3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CE3#FFFFFF#000000##FFFFFF
##813CE31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#67688D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #813ce3;
/* rgb */ color: rgb(129, 60, 227);
/* oklch */ color: oklch(54.0% 0.235 296.4);
Tailwind
colors: {
  custom: {
    50: '#ae78ed',
    500: '#813ce3',
    950: '#000000',
  },
}
SCSS
$custom: #813ce3;
$custom-light: #ae78ed;
$custom-dark: #000000;
JSON
{
  "hex": "#813ce3",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 227
  },
  "hsl": {
    "h": 264.79,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.23451,
    "h": 296.4
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#813CE3
secondary
#C3E09B
accent
#F236A4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #813CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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