#816FD8#816FD8

#816FD8 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.7% C 0.155 H 288.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#816FD8
RGBrgb(129, 111, 216)
HSLhsl(250, 57%, 64%)
HSVhsv(250, 49%, 85%)
CMYKcmyk(40.3%, 48.6%, 0%, 15.3%)
CIE-LABlab(52.94, 32.04, -51.73)
CIE-LCHlch(52.94, 60.85, 301.77°)
OKLaboklab(60.72% 0.0499 -0.1465)
OKLCHoklch(60.72% 0.155 288.8)
XYZxyz(27.1289, 20.9930, 67.5751)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FD8 #C6D86F
analogous
#6F92D8 #816FD8 #B66FD8
triadic
#816FD8 #D8816F #6FD881
tetradic
#816FD8 #D86F92 #C6D86F #6FD8B6
square
#816FD8 #D86F92 #C6D86F #6FD8B6
split-complementary
#816FD8 #D8B66F #92D86F
monochromatic
#402CA1 #573FCB #816FD8 #AB9FE5 #D5CFF2

Accessibility & contrast

On white

4.04
#816FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#816FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FD8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FD8#FFFFFF#000000##000000
##816FD81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DC
Deuteranopia (green-blind)
#467CD6
Tritanopia (blue-blind)
#698499
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #816fd8;
/* rgb */ color: rgb(129, 111, 216);
/* oklch */ color: oklch(60.7% 0.155 288.8);
Tailwind
colors: {
  custom: {
    50: '#aa98e4',
    500: '#816fd8',
    950: '#000000',
  },
}
SCSS
$custom: #816fd8;
$custom-light: #aa98e4;
$custom-dark: #000000;
JSON
{
  "hex": "#816fd8",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 216
  },
  "hsl": {
    "h": 250.286,
    "s": 57.377,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.15477,
    "h": 288.8
  },
  "luminance": 0.20994
}

Semantic roles & 50–950 ramp

primary
#816FD8
secondary
#DDE4BF
accent
#C521A9
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #816FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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