#816EF2#816EF2

#816EF2 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.2% C 0.191 H 286.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#816EF2
RGBrgb(129, 110, 242)
HSLhsl(249, 84%, 69%)
HSVhsv(249, 55%, 95%)
CMYKcmyk(46.7%, 54.5%, 0%, 5.1%)
CIE-LABlab(54.27, 40.00, -64.20)
CIE-LCHlch(54.27, 75.64, 301.93°)
OKLaboklab(62.22% 0.0526 -0.1831)
OKLCHoklch(62.22% 0.191 286)
XYZxyz(30.6515, 22.2284, 86.6626)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816EF2 #DFF26E
analogous
#6E9DF2 #816EF2 #C36EF2
triadic
#816EF2 #F2816E #6EF281
tetradic
#816EF2 #F26E9D #DFF26E #6EF2C3
square
#816EF2 #F26E9D #DFF26E #6EF2C3
split-complementary
#816EF2 #F2C36E #9DF26E
monochromatic
#2F13D3 #5036ED #816EF2 #B2A6F7 #E3DEFC

Accessibility & contrast

On white

3.86
#816EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#816EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816EF2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816EF2#FFFFFF#000000##000000
##816EF21.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F6
Deuteranopia (green-blind)
#1D7EEF
Tritanopia (blue-blind)
#5B8BA5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816ef2;
/* rgb */ color: rgb(129, 110, 242);
/* oklch */ color: oklch(62.2% 0.191 286.0);
Tailwind
colors: {
  custom: {
    50: '#ac98f7',
    500: '#816ef2',
    950: '#000000',
  },
}
SCSS
$custom: #816ef2;
$custom-light: #ac98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#816ef2",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 248.636,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62215,
    "c": 0.19052,
    "h": 286
  },
  "luminance": 0.2223
}

Semantic roles & 50–950 ramp

primary
#816EF2
secondary
#ECF1CB
accent
#E006C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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