#816EF8#816EF8

#816EF8 is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.6% C 0.198 H 285.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#816EF8
RGBrgb(129, 110, 248)
HSLhsl(248, 91%, 70%)
HSVhsv(248, 56%, 97%)
CMYKcmyk(48%, 55.6%, 0%, 2.7%)
CIE-LABlab(54.65, 41.72, -66.91)
CIE-LCHlch(54.65, 78.85, 301.95°)
OKLaboklab(62.62% 0.0527 -0.1911)
OKLCHoklch(62.62% 0.198 285.4)
XYZxyz(31.5675, 22.5948, 91.4866)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EF8 #E5F86E
analogous
#6EA0F8 #816EF8 #C66EF8
triadic
#816EF8 #F8816E #6EF881
tetradic
#816EF8 #F86EA0 #E5F86E #6EF8C6
square
#816EF8 #F86EA0 #E5F86E #6EF8C6
split-complementary
#816EF8 #F8C66E #A0F86E
monochromatic
#280BE1 #4E34F5 #816EF8 #B4A8FB #E6E2FE

Accessibility & contrast

On white

3.80
#816EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#816EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816EF8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816EF8#FFFFFF#000000##000000
##816EF81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1087FD
Deuteranopia (green-blind)
#037FF5
Tritanopia (blue-blind)
#578DA8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #816ef8;
/* rgb */ color: rgb(129, 110, 248);
/* oklch */ color: oklch(62.6% 0.198 285.4);
Tailwind
colors: {
  custom: {
    50: '#ad98fb',
    500: '#816ef8',
    950: '#000000',
  },
}
SCSS
$custom: #816ef8;
$custom-light: #ad98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#816ef8",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 248.261,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62622,
    "c": 0.19824,
    "h": 285.4
  },
  "luminance": 0.22596
}

Semantic roles & 50–950 ramp

primary
#816EF8
secondary
#EFF4CE
accent
#E600C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #816EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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