#814ED8#814ED8

#814ED8 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.201 H 296.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#814ED8
RGBrgb(129, 78, 216)
HSLhsl(262, 64%, 58%)
HSVhsv(262, 64%, 85%)
CMYKcmyk(40.3%, 63.9%, 0%, 15.3%)
CIE-LABlab(45.73, 50.67, -63.32)
CIE-LCHlch(45.73, 81.10, 308.67°)
OKLaboklab(55.41% 0.0888 -0.1806)
OKLCHoklch(55.41% 0.201 296.2)
XYZxyz(24.1691, 15.0733, 66.5885)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814ED8 #A5D84E
analogous
#4E60D8 #814ED8 #C64ED8
triadic
#814ED8 #D8814E #4ED881
tetradic
#814ED8 #D84E60 #A5D84E #4ED8C6
square
#814ED8 #D84E60 #A5D84E #4ED8C6
split-complementary
#814ED8 #D8C64E #60D84E
monochromatic
#481F8D #612ABF #814ED8 #A580E3 #C8B2EE

Accessibility & contrast

On white

5.23
#814ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#814ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814ED8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814ED8#FFFFFF#000000##FFFFFF
##814ED81.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#6B6E8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #814ed8;
/* rgb */ color: rgb(129, 78, 216);
/* oklch */ color: oklch(55.4% 0.201 296.2);
Tailwind
colors: {
  custom: {
    50: '#ac82e5',
    500: '#814ed8',
    950: '#000000',
  },
}
SCSS
$custom: #814ed8;
$custom-light: #ac82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#814ed8",
  "rgb": {
    "r": 129,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 262.174,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55411,
    "c": 0.20125,
    "h": 296.2
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#814ED8
secondary
#C8DDA5
accent
#E741AA
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #814ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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