#816CFB#816CFB

#816CFB is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.5% C 0.205 H 285.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#816CFB
RGBrgb(129, 108, 251)
HSLhsl(249, 95%, 70%)
HSVhsv(249, 57%, 98%)
CMYKcmyk(48.6%, 57%, 0%, 1.6%)
CIE-LABlab(54.40, 43.73, -68.98)
CIE-LCHlch(54.40, 81.67, 302.38°)
OKLaboklab(62.5% 0.0548 -0.1972)
OKLCHoklch(62.5% 0.205 285.5)
XYZxyz(31.8233, 22.3558, 93.8864)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816CFB #E6FB6C
analogous
#6C9EFB #816CFB #C86CFB
triadic
#816CFB #FB816C #6CFB81
tetradic
#816CFB #FB6C9E #E6FB6C #6CFBC8
square
#816CFB #FB6C9E #E6FB6C #6CFBC8
split-complementary
#816CFB #FBC86C #9EFB6C
monochromatic
#2706E6 #4E30F9 #816CFB #B4A8FD #E5E1FE

Accessibility & contrast

On white

3.84
#816CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#816CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816CFB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816CFB#FFFFFF#000000##000000
##816CFB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#558DA9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816cfb;
/* rgb */ color: rgb(129, 108, 251);
/* oklch */ color: oklch(62.5% 0.205 285.5);
Tailwind
colors: {
  custom: {
    50: '#ae97fd',
    500: '#816cfb',
    950: '#000000',
  },
}
SCSS
$custom: #816cfb;
$custom-light: #ae97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#816cfb",
  "rgb": {
    "r": 129,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 248.811,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.625,
    "c": 0.20467,
    "h": 285.5
  },
  "luminance": 0.22357
}

Semantic roles & 50–950 ramp

primary
#816CFB
secondary
#EFF5CE
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #816CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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