#816AF7#816AF7

#816AF7 is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.9% C 0.202 H 286.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#816AF7
RGBrgb(129, 106, 247)
HSLhsl(250, 90%, 69%)
HSVhsv(250, 57%, 97%)
CMYKcmyk(47.8%, 57.1%, 0%, 3.1%)
CIE-LABlab(53.70, 43.73, -67.90)
CIE-LCHlch(53.70, 80.76, 302.78°)
OKLaboklab(61.9% 0.057 -0.194)
OKLCHoklch(61.9% 0.202 286.4)
XYZxyz(30.9909, 21.6892, 90.5311)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816AF7 #E0F76A
analogous
#6A9AF7 #816AF7 #C86AF7
triadic
#816AF7 #F7816A #6AF781
tetradic
#816AF7 #F76A9A #E0F76A #6AF7C8
square
#816AF7 #F76A9A #E0F76A #6AF7C8
split-complementary
#816AF7 #F7C86A #9AF76A
monochromatic
#2E0CDB #5030F4 #816AF7 #B2A4FA #E3DEFD

Accessibility & contrast

On white

3.93
#816AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#816AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #816AF7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816AF7#FFFFFF#000000##000000
##816AF71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#588AA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #816af7;
/* rgb */ color: rgb(129, 106, 247);
/* oklch */ color: oklch(61.9% 0.202 286.4);
Tailwind
colors: {
  custom: {
    50: '#ad95fb',
    500: '#816af7',
    950: '#000000',
  },
}
SCSS
$custom: #816af7;
$custom-light: #ad95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#816af7",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 249.787,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61895,
    "c": 0.20223,
    "h": 286.4
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#816AF7
secondary
#ECF3CA
accent
#E600C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #816AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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