#816FF2#816FF2

#816FF2 is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.4% C 0.189 H 285.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#816FF2
RGBrgb(129, 111, 242)
HSLhsl(248, 83%, 69%)
HSVhsv(248, 54%, 95%)
CMYKcmyk(46.7%, 54.1%, 0%, 5.1%)
CIE-LABlab(54.50, 39.42, -63.83)
CIE-LCHlch(54.50, 75.02, 301.70°)
OKLaboklab(62.39% 0.0515 -0.182)
OKLCHoklch(62.39% 0.189 285.8)
XYZxyz(30.7600, 22.4454, 86.6988)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816FF2 #E0F26F
analogous
#6F9FF2 #816FF2 #C26FF2
triadic
#816FF2 #F2816F #6FF281
tetradic
#816FF2 #F26F9F #E0F26F #6FF2C2
square
#816FF2 #F26F9F #E0F26F #6FF2C2
split-complementary
#816FF2 #F2C26F #9FF26F
monochromatic
#2E13D4 #5037ED #816FF2 #B2A7F7 #E3DFFC

Accessibility & contrast

On white

3.83
#816FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#816FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816FF2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816FF2#FFFFFF#000000##000000
##816FF21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F6
Deuteranopia (green-blind)
#217FEF
Tritanopia (blue-blind)
#5B8CA6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #816ff2;
/* rgb */ color: rgb(129, 111, 242);
/* oklch */ color: oklch(62.4% 0.189 285.8);
Tailwind
colors: {
  custom: {
    50: '#ac99f7',
    500: '#816ff2',
    950: '#000000',
  },
}
SCSS
$custom: #816ff2;
$custom-light: #ac99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#816ff2",
  "rgb": {
    "r": 129,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 248.244,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62385,
    "c": 0.18918,
    "h": 285.8
  },
  "luminance": 0.22447
}

Semantic roles & 50–950 ramp

primary
#816FF2
secondary
#ECF1CB
accent
#E006C2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #816FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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