#818DF7#818DF7

#818DF7 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.1% C 0.156 H 276.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#818DF7
RGBrgb(129, 141, 247)
HSLhsl(234, 88%, 74%)
HSVhsv(234, 48%, 97%)
CMYKcmyk(47.8%, 42.9%, 0%, 3.1%)
CIE-LABlab(62.02, 23.30, -54.55)
CIE-LCHlch(62.02, 59.31, 293.13°)
OKLaboklab(68.15% 0.0178 -0.1546)
OKLCHoklch(68.15% 0.156 276.6)
XYZxyz(35.3614, 30.4303, 91.9880)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DF7 #F7EB81
analogous
#81C8F7 #818DF7 #B081F7
triadic
#818DF7 #F7818D #8DF781
tetradic
#818DF7 #F781C8 #F7EB81 #81F7B0
square
#818DF7 #F781C8 #F7EB81 #81F7B0
split-complementary
#818DF7 #F7B081 #C8F781
monochromatic
#0F26EE #4759F3 #818DF7 #BBC1FB #E2E5FD

Accessibility & contrast

On white

2.96
#818DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#818DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818DF7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DF7#FFFFFF#000000##000000
##818DF71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#54A3B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #818df7;
/* rgb */ color: rgb(129, 141, 247);
/* oklch */ color: oklch(68.1% 0.156 276.6);
Tailwind
colors: {
  custom: {
    50: '#acaefa',
    500: '#818df7',
    950: '#000000',
  },
}
SCSS
$custom: #818df7;
$custom-light: #acaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#818df7",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 233.898,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68145,
    "c": 0.15562,
    "h": 276.6
  },
  "luminance": 0.30432
}

Semantic roles & 50–950 ramp

primary
#818DF7
secondary
#F5F2D6
accent
#CD01E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818DF7

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

Preview Lab → · Contrast checker → · Palette generator →

#818DF7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva