#816FDF#816FDF

#816FDF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.2% C 0.164 H 287.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#816FDF
RGBrgb(129, 111, 223)
HSLhsl(250, 64%, 65%)
HSVhsv(250, 50%, 87%)
CMYKcmyk(42.2%, 50.2%, 0%, 12.5%)
CIE-LABlab(53.34, 34.01, -55.04)
CIE-LCHlch(53.34, 64.70, 301.71°)
OKLaboklab(61.16% 0.0505 -0.1562)
OKLCHoklch(61.16% 0.164 287.9)
XYZxyz(28.0532, 21.3627, 72.4430)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FDF #CDDF6F
analogous
#6F95DF #816FDF #B96FDF
triadic
#816FDF #DF816F #6FDF81
tetradic
#816FDF #DF6F95 #CDDF6F #6FDFB9
square
#816FDF #DF6F95 #CDDF6F #6FDFB9
split-complementary
#816FDF #DFB96F #95DF6F
monochromatic
#3C26AD #553DD4 #816FDF #ADA1EA #D9D3F5

Accessibility & contrast

On white

3.98
#816FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#816FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FDF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FDF#FFFFFF#000000##000000
##816FDF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#3F7DDC
Tritanopia (blue-blind)
#66869D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #816fdf;
/* rgb */ color: rgb(129, 111, 223);
/* oklch */ color: oklch(61.2% 0.164 287.9);
Tailwind
colors: {
  custom: {
    50: '#aa98e9',
    500: '#816fdf',
    950: '#000000',
  },
}
SCSS
$custom: #816fdf;
$custom-light: #aa98e9;
$custom-dark: #000000;
JSON
{
  "hex": "#816fdf",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 249.643,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.16418,
    "h": 287.9
  },
  "luminance": 0.21364
}

Semantic roles & 50–950 ramp

primary
#816FDF
secondary
#E2E8C2
accent
#CB1AAF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #816FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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