#816CBE#816CBE

#816CBE is a mid, vivid violet. Relative luminance 0.191; OKLCH L 58.7% C 0.124 H 294.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#816CBE
RGBrgb(129, 108, 190)
HSLhsl(255, 39%, 58%)
HSVhsv(255, 43%, 75%)
CMYKcmyk(32.1%, 43.2%, 0%, 25.5%)
CIE-LABlab(50.82, 26.74, -40.27)
CIE-LCHlch(50.82, 48.34, 303.59°)
OKLaboklab(58.67% 0.0504 -0.113)
OKLCHoklch(58.67% 0.124 294)
XYZxyz(23.7077, 19.1096, 51.1447)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CBE #A9BE6C
analogous
#6C80BE #816CBE #AA6CBE
triadic
#816CBE #BE816C #6CBE81
tetradic
#816CBE #BE6C80 #A9BE6C #6CBEAA
square
#816CBE #BE6C80 #A9BE6C #6CBEAA
split-complementary
#816CBE #BEAA6C #80BE6C
monochromatic
#47367A #6049A4 #816CBE #A596D1 #CAC1E4

Accessibility & contrast

On white

4.36
#816CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#816CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CBE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CBE#FFFFFF#000000##000000
##816CBE1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#737B8C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #816cbe;
/* rgb */ color: rgb(129, 108, 190);
/* oklch */ color: oklch(58.7% 0.124 294.0);
Tailwind
colors: {
  custom: {
    50: '#a896d2',
    500: '#816cbe',
    950: '#000000',
  },
}
SCSS
$custom: #816cbe;
$custom-light: #a896d2;
$custom-dark: #000000;
JSON
{
  "hex": "#816cbe",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 190
  },
  "hsl": {
    "h": 255.366,
    "s": 38.679,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.12374,
    "h": 294
  },
  "luminance": 0.1911
}

Semantic roles & 50–950 ramp

primary
#816CBE
secondary
#CBD3B3
accent
#CF59B1
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #816CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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