#816FDB#816FDB

#816FDB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.9% C 0.159 H 288.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#816FDB
RGBrgb(129, 111, 219)
HSLhsl(250, 60%, 65%)
HSVhsv(250, 49%, 86%)
CMYKcmyk(41.1%, 49.3%, 0%, 14.1%)
CIE-LABlab(53.11, 32.88, -53.15)
CIE-LCHlch(53.11, 62.50, 301.74°)
OKLaboklab(60.91% 0.0502 -0.1507)
OKLCHoklch(60.91% 0.159 288.4)
XYZxyz(27.5203, 21.1495, 69.6364)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FDB #C9DB6F
analogous
#6F93DB #816FDB #B76FDB
triadic
#816FDB #DB816F #6FDB81
tetradic
#816FDB #DB6F93 #C9DB6F #6FDBB7
square
#816FDB #DB6F93 #C9DB6F #6FDBB7
split-complementary
#816FDB #DBB76F #93DB6F
monochromatic
#3E2AA6 #563ECF #816FDB #ACA0E7 #D7D1F3

Accessibility & contrast

On white

4.02
#816FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#816FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FDB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FDB#FFFFFF#000000##000000
##816FDB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#437CD9
Tritanopia (blue-blind)
#67859B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #816fdb;
/* rgb */ color: rgb(129, 111, 219);
/* oklch */ color: oklch(60.9% 0.159 288.4);
Tailwind
colors: {
  custom: {
    50: '#aa98e7',
    500: '#816fdb',
    950: '#000000',
  },
}
SCSS
$custom: #816fdb;
$custom-light: #aa98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#816fdb",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 250,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.15881,
    "h": 288.4
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

primary
#816FDB
secondary
#DFE5C0
accent
#C81EAB
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #816FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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