#818DF6#818DF6

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

Color values

HEX#818DF6
RGBrgb(129, 141, 246)
HSLhsl(234, 87%, 74%)
HSVhsv(234, 48%, 96%)
CMYKcmyk(47.6%, 42.7%, 0%, 3.5%)
CIE-LABlab(61.97, 23.01, -54.08)
CIE-LCHlch(61.97, 58.77, 293.05°)
OKLaboklab(68.09% 0.0177 -0.1532)
OKLCHoklch(68.09% 0.154 276.6)
XYZxyz(35.2075, 30.3687, 91.1775)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DF6 #F6EA81
analogous
#81C7F6 #818DF6 #AF81F6
triadic
#818DF6 #F6818D #8DF681
tetradic
#818DF6 #F681C7 #F6EA81 #81F6AF
square
#818DF6 #F681C7 #F6EA81 #81F6AF
split-complementary
#818DF6 #F6AF81 #C7F681
monochromatic
#1127EC #4859F2 #818DF6 #BAC1FA #E2E5FD

Accessibility & contrast

On white

2.97
#818DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#818DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818DF6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DF6#FFFFFF#000000##000000
##818DF61.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#55A3B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #818df6;
/* rgb */ color: rgb(129, 141, 246);
/* oklch */ color: oklch(68.1% 0.154 276.6);
Tailwind
colors: {
  custom: {
    50: '#acaefa',
    500: '#818df6',
    950: '#000000',
  },
}
SCSS
$custom: #818df6;
$custom-light: #acaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#818df6",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 233.846,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68088,
    "c": 0.15425,
    "h": 276.6
  },
  "luminance": 0.30371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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