#816FEF#816FEF

#816FEF is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.2% C 0.185 H 286.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#816FEF
RGBrgb(129, 111, 239)
HSLhsl(248, 80%, 69%)
HSVhsv(248, 54%, 94%)
CMYKcmyk(46%, 53.6%, 0%, 6.3%)
CIE-LABlab(54.31, 38.56, -62.46)
CIE-LCHlch(54.31, 73.40, 301.69°)
OKLaboklab(62.19% 0.0514 -0.178)
OKLCHoklch(62.19% 0.185 286.1)
XYZxyz(30.3132, 22.2667, 84.3453)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FEF #DDEF6F
analogous
#6F9DEF #816FEF #C16FEF
triadic
#816FEF #EF816F #6FEF81
tetradic
#816FEF #EF6F9D #DDEF6F #6FEFC1
square
#816FEF #EF6F9D #DDEF6F #6FEFC1
split-complementary
#816FEF #EFC16F #9DEF6F
monochromatic
#3017CD #5138E9 #816FEF #B1A6F5 #E1DDFB

Accessibility & contrast

On white

3.85
#816FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#816FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FEF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FEF#FFFFFF#000000##000000
##816FEF1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F3
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#5D8BA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816fef;
/* rgb */ color: rgb(129, 111, 239);
/* oklch */ color: oklch(62.2% 0.185 286.1);
Tailwind
colors: {
  custom: {
    50: '#ac99f5',
    500: '#816fef',
    950: '#000000',
  },
}
SCSS
$custom: #816fef;
$custom-light: #ac99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#816fef",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 248.438,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62185,
    "c": 0.18528,
    "h": 286.1
  },
  "luminance": 0.22268
}

Semantic roles & 50–950 ramp

primary
#816FEF
secondary
#EBF0CA
accent
#DC09BF
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #816FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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