#816EFB#816EFB

#816EFB is a light, highly saturated blue. Relative luminance 0.228; OKLCH L 62.8% C 0.202 H 285.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#816EFB
RGBrgb(129, 110, 251)
HSLhsl(248, 95%, 71%)
HSVhsv(248, 56%, 98%)
CMYKcmyk(48.6%, 56.2%, 0%, 1.6%)
CIE-LABlab(54.85, 42.59, -68.26)
CIE-LCHlch(54.85, 80.46, 301.96°)
OKLaboklab(62.83% 0.0527 -0.1951)
OKLCHoklch(62.83% 0.202 285.1)
XYZxyz(32.0366, 22.7825, 93.9575)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EFB #E8FB6E
analogous
#6EA1FB #816EFB #C76EFB
triadic
#816EFB #FB816E #6EFB81
tetradic
#816EFB #FB6EA1 #E8FB6E #6EFBC7
square
#816EFB #FB6EA1 #E8FB6E #6EFBC7
split-complementary
#816EFB #FBC76E #A1FB6E
monochromatic
#2506E8 #4D32F9 #816EFB #B5AAFD #E5E1FE

Accessibility & contrast

On white

3.78
#816EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#816EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816EFB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816EFB#FFFFFF#000000##000000
##816EFB1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007FF8
Tritanopia (blue-blind)
#558EAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #816efb;
/* rgb */ color: rgb(129, 110, 251);
/* oklch */ color: oklch(62.8% 0.202 285.1);
Tailwind
colors: {
  custom: {
    50: '#ad98fd',
    500: '#816efb',
    950: '#000000',
  },
}
SCSS
$custom: #816efb;
$custom-light: #ad98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#816efb",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 248.085,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62829,
    "c": 0.20206,
    "h": 285.1
  },
  "luminance": 0.22784
}

Semantic roles & 50–950 ramp

primary
#816EFB
secondary
#F0F5CF
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #816EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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