#816BBE#816BBE

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

Color values

HEX#816BBE
RGBrgb(129, 107, 190)
HSLhsl(256, 39%, 58%)
HSVhsv(256, 44%, 75%)
CMYKcmyk(32.1%, 43.7%, 0%, 25.5%)
CIE-LABlab(50.57, 27.34, -40.66)
CIE-LCHlch(50.57, 48.99, 303.92°)
OKLaboklab(58.48% 0.0518 -0.1141)
OKLCHoklch(58.48% 0.125 294.4)
XYZxyz(23.6029, 18.8998, 51.1097)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BBE #A8BE6B
analogous
#6B7EBE #816BBE #AA6BBE
triadic
#816BBE #BE816B #6BBE81
tetradic
#816BBE #BE6B7E #A8BE6B #6BBEAA
square
#816BBE #BE6B7E #A8BE6B #6BBEAA
split-complementary
#816BBE #BEAA6B #7EBE6B
monochromatic
#473579 #6048A4 #816BBE #A596D1 #C9C0E3

Accessibility & contrast

On white

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

On black

4.78
#816BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BBE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BBE#FFFFFF#000000##000000
##816BBE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C1
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#737A8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #816bbe;
/* rgb */ color: rgb(129, 107, 190);
/* oklch */ color: oklch(58.5% 0.125 294.4);
Tailwind
colors: {
  custom: {
    50: '#a895d2',
    500: '#816bbe',
    950: '#000000',
  },
}
SCSS
$custom: #816bbe;
$custom-light: #a895d2;
$custom-dark: #000000;
JSON
{
  "hex": "#816bbe",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 255.904,
    "s": 38.967,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.12534,
    "h": 294.4
  },
  "luminance": 0.189
}

Semantic roles & 50–950 ramp

primary
#816BBE
secondary
#CAD3B2
accent
#CF59B0
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #816BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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