#816BBF#816BBF

#816BBF is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.5% C 0.127 H 294.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#816BBF
RGBrgb(129, 107, 191)
HSLhsl(256, 40%, 58%)
HSVhsv(256, 44%, 75%)
CMYKcmyk(32.5%, 44%, 0%, 25.1%)
CIE-LABlab(50.62, 27.60, -41.15)
CIE-LCHlch(50.62, 49.55, 303.85°)
OKLaboklab(58.54% 0.0519 -0.1156)
OKLCHoklch(58.54% 0.127 294.2)
XYZxyz(23.7126, 18.9437, 51.6873)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BBF #A9BF6B
analogous
#6B7FBF #816BBF #AB6BBF
triadic
#816BBF #BF816B #6BBF81
tetradic
#816BBF #BF6B7F #A9BF6B #6BBFAB
square
#816BBF #BF6B7F #A9BF6B #6BBFAB
split-complementary
#816BBF #BFAB6B #7FBF6B
monochromatic
#47357B #6047A5 #816BBF #A596D1 #CAC0E4

Accessibility & contrast

On white

4.39
#816BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#816BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BBF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BBF#FFFFFF#000000##000000
##816BBF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#5477BD
Tritanopia (blue-blind)
#737B8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #816bbf;
/* rgb */ color: rgb(129, 107, 191);
/* oklch */ color: oklch(58.5% 0.127 294.2);
Tailwind
colors: {
  custom: {
    50: '#a895d3',
    500: '#816bbf',
    950: '#000000',
  },
}
SCSS
$custom: #816bbf;
$custom-light: #a895d3;
$custom-dark: #000000;
JSON
{
  "hex": "#816bbf",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 255.714,
    "s": 39.623,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.12671,
    "h": 294.2
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#816BBF
secondary
#CBD4B2
accent
#D058B0
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #816BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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