#816DCD#816DCD

#816DCD is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.7% C 0.143 H 291.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#816DCD
RGBrgb(129, 109, 205)
HSLhsl(253, 49%, 62%)
HSVhsv(253, 47%, 80%)
CMYKcmyk(37.1%, 46.8%, 0%, 19.6%)
CIE-LABlab(51.85, 30.18, -47.22)
CIE-LCHlch(51.85, 56.05, 302.59°)
OKLaboklab(59.71% 0.0512 -0.1333)
OKLCHoklch(59.71% 0.143 291)
XYZxyz(25.5384, 20.0115, 60.2628)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DCD #B9CD6D
analogous
#6D89CD #816DCD #B16DCD
triadic
#816DCD #CD816D #6DCD81
tetradic
#816DCD #CD6D89 #B9CD6D #6DCDB1
square
#816DCD #CD6D89 #B9CD6D #6DCDB1
split-complementary
#816DCD #CDB16D #89CD6D
monochromatic
#44318F #5A40BC #816DCD #A89BDD #D0C8EC

Accessibility & contrast

On white

4.20
#816DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#816DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DCD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DCD#FFFFFF#000000##000000
##816DCD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#6E8093
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #816dcd;
/* rgb */ color: rgb(129, 109, 205);
/* oklch */ color: oklch(59.7% 0.143 291.0);
Tailwind
colors: {
  custom: {
    50: '#a997dd',
    500: '#816dcd',
    950: '#000000',
  },
}
SCSS
$custom: #816dcd;
$custom-light: #a997dd;
$custom-dark: #000000;
JSON
{
  "hex": "#816dcd",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 252.5,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.14281,
    "h": 291
  },
  "luminance": 0.20012
}

Semantic roles & 50–950 ramp

primary
#816DCD
secondary
#D5DDB9
accent
#BC299E
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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