#816DF2#816DF2

#816DF2 is a light, vivid blue. Relative luminance 0.220; OKLCH L 62.0% C 0.192 H 286.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#816DF2
RGBrgb(129, 109, 242)
HSLhsl(249, 84%, 69%)
HSVhsv(249, 55%, 95%)
CMYKcmyk(46.7%, 55%, 0%, 5.1%)
CIE-LABlab(54.04, 40.57, -64.56)
CIE-LCHlch(54.04, 76.25, 302.15°)
OKLaboklab(62.05% 0.0537 -0.1842)
OKLCHoklch(62.05% 0.192 286.3)
XYZxyz(30.5442, 22.0139, 86.6269)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816DF2 #DEF26D
analogous
#6D9CF2 #816DF2 #C46DF2
triadic
#816DF2 #F2816D #6DF281
tetradic
#816DF2 #F26D9C #DEF26D #6DF2C4
square
#816DF2 #F26D9C #DEF26D #6DF2C4
split-complementary
#816DF2 #F2C46D #9CF26D
monochromatic
#2F13D2 #5135ED #816DF2 #B2A5F7 #E2DDFC

Accessibility & contrast

On white

3.89
#816DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#816DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816DF2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816DF2#FFFFFF#000000##000000
##816DF21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D85F7
Deuteranopia (green-blind)
#197DEF
Tritanopia (blue-blind)
#5B8BA5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #816df2;
/* rgb */ color: rgb(129, 109, 242);
/* oklch */ color: oklch(62.0% 0.192 286.3);
Tailwind
colors: {
  custom: {
    50: '#ac97f7',
    500: '#816df2',
    950: '#000000',
  },
}
SCSS
$custom: #816df2;
$custom-light: #ac97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#816df2",
  "rgb": {
    "r": 129,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 249.023,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62047,
    "c": 0.19187,
    "h": 286.3
  },
  "luminance": 0.22015
}

Semantic roles & 50–950 ramp

primary
#816DF2
secondary
#EBF1CA
accent
#E005BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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