#816EFA#816EFA

#816EFA is a light, highly saturated blue. Relative luminance 0.227; OKLCH L 62.8% C 0.201 H 285.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#816EFA
RGBrgb(129, 110, 250)
HSLhsl(248, 93%, 71%)
HSVhsv(248, 56%, 98%)
CMYKcmyk(48.4%, 56%, 0%, 2%)
CIE-LABlab(54.78, 42.30, -67.81)
CIE-LCHlch(54.78, 79.92, 301.96°)
OKLaboklab(62.76% 0.0527 -0.1937)
OKLCHoklch(62.76% 0.201 285.2)
XYZxyz(31.8794, 22.7196, 93.1295)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EFA #E7FA6E
analogous
#6EA1FA #816EFA #C76EFA
triadic
#816EFA #FA816E #6EFA81
tetradic
#816EFA #FA6EA1 #E7FA6E #6EFAC7
square
#816EFA #FA6EA1 #E7FA6E #6EFAC7
split-complementary
#816EFA #FAC76E #A1FA6E
monochromatic
#2608E6 #4E33F8 #816EFA #B4A9FC #E5E1FE

Accessibility & contrast

On white

3.79
#816EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#816EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816EFA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816EFA#FFFFFF#000000##000000
##816EFA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0687FF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#568EAA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #816efa;
/* rgb */ color: rgb(129, 110, 250);
/* oklch */ color: oklch(62.8% 0.201 285.2);
Tailwind
colors: {
  custom: {
    50: '#ad98fd',
    500: '#816efa',
    950: '#000000',
  },
}
SCSS
$custom: #816efa;
$custom-light: #ad98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#816efa",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 248.143,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6276,
    "c": 0.20079,
    "h": 285.2
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #816EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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