#814ED2#814ED2

#814ED2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.194 H 297.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#814ED2
RGBrgb(129, 78, 210)
HSLhsl(263, 59%, 56%)
HSVhsv(263, 63%, 82%)
CMYKcmyk(38.6%, 62.9%, 0%, 17.6%)
CIE-LABlab(45.32, 49.12, -60.57)
CIE-LCHlch(45.32, 77.98, 309.04°)
OKLaboklab(54.97% 0.0893 -0.1725)
OKLCHoklch(54.97% 0.194 297.4)
XYZxyz(23.4075, 14.7687, 62.5777)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814ED2 #9FD24E
analogous
#4E5DD2 #814ED2 #C34ED2
triadic
#814ED2 #D2814E #4ED281
tetradic
#814ED2 #D24E5D #9FD24E #4ED2C3
square
#814ED2 #D24E5D #9FD24E #4ED2C3
split-complementary
#814ED2 #D2C34E #5DD24E
monochromatic
#482284 #622EB5 #814ED2 #A47FDE #C6B0EB

Accessibility & contrast

On white

5.31
#814ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#814ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814ED2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814ED2#FFFFFF#000000##FFFFFF
##814ED21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#6E6C89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #814ed2;
/* rgb */ color: rgb(129, 78, 210);
/* oklch */ color: oklch(55.0% 0.194 297.4);
Tailwind
colors: {
  custom: {
    50: '#ab82e1',
    500: '#814ed2',
    950: '#000000',
  },
}
SCSS
$custom: #814ed2;
$custom-light: #ab82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#814ed2",
  "rgb": {
    "r": 129,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 263.182,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.19424,
    "h": 297.4
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#814ED2
secondary
#C4D9A3
accent
#E345A6
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #814ED2

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

Preview Lab → · Contrast checker → · Palette generator →

#814ED2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva