#816FFB#816FFB

#816FFB is a light, highly saturated blue. Relative luminance 0.230; OKLCH L 63.0% C 0.201 H 284.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#816FFB
RGBrgb(129, 111, 251)
HSLhsl(248, 95%, 71%)
HSVhsv(248, 56%, 98%)
CMYKcmyk(48.6%, 55.8%, 0%, 1.6%)
CIE-LABlab(55.07, 42.02, -67.90)
CIE-LCHlch(55.07, 79.84, 301.75°)
OKLaboklab(63% 0.0517 -0.194)
OKLCHoklch(63% 0.201 284.9)
XYZxyz(32.1451, 22.9995, 93.9936)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FFB #E9FB6F
analogous
#6FA3FB #816FFB #C76FFB
triadic
#816FFB #FB816F #6FFB81
tetradic
#816FFB #FB6FA3 #E9FB6F #6FFBC7
square
#816FFB #FB6FA3 #E9FB6F #6FFBC7
split-complementary
#816FFB #FBC76F #A3FB6F
monochromatic
#2406E9 #4D33F9 #816FFB #B5ABFD #E5E1FE

Accessibility & contrast

On white

3.75
#816FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#816FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FFB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FFB#FFFFFF#000000##000000
##816FFB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A88FF
Deuteranopia (green-blind)
#0080F8
Tritanopia (blue-blind)
#558FAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #816ffb;
/* rgb */ color: rgb(129, 111, 251);
/* oklch */ color: oklch(63.0% 0.201 284.9);
Tailwind
colors: {
  custom: {
    50: '#ad99fd',
    500: '#816ffb',
    950: '#000000',
  },
}
SCSS
$custom: #816ffb;
$custom-light: #ad99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#816ffb",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 247.714,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62995,
    "c": 0.20075,
    "h": 284.9
  },
  "luminance": 0.23001
}

Semantic roles & 50–950 ramp

primary
#816FFB
secondary
#F1F6D0
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #816FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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