#816FFA#816FFA

#816FFA is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.9% C 0.199 H 285.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#816FFA
RGBrgb(129, 111, 250)
HSLhsl(248, 93%, 71%)
HSVhsv(248, 56%, 98%)
CMYKcmyk(48.4%, 55.6%, 0%, 2%)
CIE-LABlab(55.01, 41.73, -67.45)
CIE-LCHlch(55.01, 79.31, 301.74°)
OKLaboklab(62.93% 0.0517 -0.1927)
OKLCHoklch(62.93% 0.199 285)
XYZxyz(31.9879, 22.9366, 93.1657)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FFA #E8FA6F
analogous
#6FA2FA #816FFA #C66FFA
triadic
#816FFA #FA816F #6FFA81
tetradic
#816FFA #FA6FA2 #E8FA6F #6FFAC6
square
#816FFA #FA6FA2 #E8FA6F #6FFAC6
split-complementary
#816FFA #FAC66F #A2FA6F
monochromatic
#2508E7 #4D34F8 #816FFA #B5AAFC #E5E1FE

Accessibility & contrast

On white

3.76
#816FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#816FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FFA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FFA#FFFFFF#000000##000000
##816FFA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F88FF
Deuteranopia (green-blind)
#007FF7
Tritanopia (blue-blind)
#568EAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #816ffa;
/* rgb */ color: rgb(129, 111, 250);
/* oklch */ color: oklch(62.9% 0.199 285.0);
Tailwind
colors: {
  custom: {
    50: '#ad99fd',
    500: '#816ffa',
    950: '#000000',
  },
}
SCSS
$custom: #816ffa;
$custom-light: #ad99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#816ffa",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 247.77,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62926,
    "c": 0.19948,
    "h": 285
  },
  "luminance": 0.22938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #816FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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