#816ECD#816ECD

#816ECD is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.9% C 0.141 H 290.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#816ECD
RGBrgb(129, 110, 205)
HSLhsl(252, 49%, 62%)
HSVhsv(252, 46%, 80%)
CMYKcmyk(37.1%, 46.3%, 0%, 19.6%)
CIE-LABlab(52.09, 29.59, -46.84)
CIE-LCHlch(52.09, 55.41, 302.29°)
OKLaboklab(59.89% 0.0499 -0.1322)
OKLCHoklch(59.89% 0.141 290.7)
XYZxyz(25.6457, 20.2261, 60.2986)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816ECD #BACD6E
analogous
#6E8BCD #816ECD #B16ECD
triadic
#816ECD #CD816E #6ECD81
tetradic
#816ECD #CD6E8B #BACD6E #6ECDB1
square
#816ECD #CD6E8B #BACD6E #6ECDB1
split-complementary
#816ECD #CDB16E #8BCD6E
monochromatic
#44318F #5A41BD #816ECD #A99CDD #D0C9EC

Accessibility & contrast

On white

4.16
#816ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#816ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816ECD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816ECD#FFFFFF#000000##000000
##816ECD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED0
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#6E8194
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #816ecd;
/* rgb */ color: rgb(129, 110, 205);
/* oklch */ color: oklch(59.9% 0.141 290.7);
Tailwind
colors: {
  custom: {
    50: '#a998dd',
    500: '#816ecd',
    950: '#000000',
  },
}
SCSS
$custom: #816ecd;
$custom-light: #a998dd;
$custom-dark: #000000;
JSON
{
  "hex": "#816ecd",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 252,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59888,
    "c": 0.1413,
    "h": 290.7
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#816ECD
secondary
#D6DDBA
accent
#BC299F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816ECD

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

Preview Lab → · Contrast checker → · Palette generator →

#816ECD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva