#816BDE#816BDE

#816BDE is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.4% C 0.169 H 289.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#816BDE
RGBrgb(129, 107, 222)
HSLhsl(251, 64%, 65%)
HSVhsv(251, 52%, 87%)
CMYKcmyk(41.9%, 51.8%, 0%, 12.9%)
CIE-LABlab(52.35, 36.06, -56.07)
CIE-LCHlch(52.35, 66.67, 302.75°)
OKLaboklab(60.39% 0.0553 -0.1592)
OKLCHoklch(60.39% 0.169 289.1)
XYZxyz(27.4921, 20.4555, 71.5929)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816BDE #C8DE6B
analogous
#6B8FDE #816BDE #BA6BDE
triadic
#816BDE #DE816B #6BDE81
tetradic
#816BDE #DE6B8F #C8DE6B #6BDEBA
square
#816BDE #DE6B8F #C8DE6B #6BDEBA
split-complementary
#816BDE #DEBA6B #8FDE6B
monochromatic
#3F26A9 #5639D3 #816BDE #AC9DE9 #D6CFF4

Accessibility & contrast

On white

4.12
#816BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#816BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816BDE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816BDE#FFFFFF#000000##000000
##816BDE1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE2
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#66839A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #816bde;
/* rgb */ color: rgb(129, 107, 222);
/* oklch */ color: oklch(60.4% 0.169 289.1);
Tailwind
colors: {
  custom: {
    50: '#aa96e9',
    500: '#816bde',
    950: '#000000',
  },
}
SCSS
$custom: #816bde;
$custom-light: #aa96e9;
$custom-dark: #000000;
JSON
{
  "hex": "#816bde",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 222
  },
  "hsl": {
    "h": 251.478,
    "s": 63.536,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60393,
    "c": 0.16858,
    "h": 289.1
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

primary
#816BDE
secondary
#DFE6BF
accent
#CB1AA9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #816BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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