#816BCD#816BCD

#816BCD is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.3% C 0.146 H 291.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#816BCD
RGBrgb(129, 107, 205)
HSLhsl(253, 49%, 61%)
HSVhsv(253, 48%, 80%)
CMYKcmyk(37.1%, 47.8%, 0%, 19.6%)
CIE-LABlab(51.37, 31.36, -47.99)
CIE-LCHlch(51.37, 57.33, 303.17°)
OKLaboklab(59.35% 0.0538 -0.1355)
OKLCHoklch(59.35% 0.146 291.7)
XYZxyz(25.3275, 19.5897, 60.1925)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BCD #B7CD6B
analogous
#6B86CD #816BCD #B26BCD
triadic
#816BCD #CD816B #6BCD81
tetradic
#816BCD #CD6B86 #B7CD6B #6BCDB2
square
#816BCD #CD6B86 #B7CD6B #6BCDB2
split-complementary
#816BCD #CDB26B #86CD6B
monochromatic
#45308E #5B3FBB #816BCD #A899DC #CFC6EC

Accessibility & contrast

On white

4.27
#816BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#816BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BCD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BCD#FFFFFF#000000##000000
##816BCD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#4A78CB
Tritanopia (blue-blind)
#6E7E92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #816bcd;
/* rgb */ color: rgb(129, 107, 205);
/* oklch */ color: oklch(59.3% 0.146 291.7);
Tailwind
colors: {
  custom: {
    50: '#a995dd',
    500: '#816bcd',
    950: '#000000',
  },
}
SCSS
$custom: #816bcd;
$custom-light: #a995dd;
$custom-dark: #000000;
JSON
{
  "hex": "#816bcd",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 253.469,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59346,
    "c": 0.14584,
    "h": 291.7
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#816BCD
secondary
#D4DCB8
accent
#BD299C
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #816BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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