#818EF6#818EF6

#818EF6 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.153 H 276.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#818EF6
RGBrgb(129, 142, 246)
HSLhsl(233, 87%, 74%)
HSVhsv(233, 48%, 96%)
CMYKcmyk(47.6%, 42.3%, 0%, 3.5%)
CIE-LABlab(62.22, 22.42, -53.68)
CIE-LCHlch(62.22, 58.17, 292.67°)
OKLaboklab(68.28% 0.0165 -0.152)
OKLCHoklch(68.28% 0.153 276.2)
XYZxyz(35.3556, 30.6650, 91.2268)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818EF6 #F6E981
analogous
#81C8F6 #818EF6 #AE81F6
triadic
#818EF6 #F6818E #8EF681
tetradic
#818EF6 #F681C8 #F6E981 #81F6AE
square
#818EF6 #F681C8 #F6E981 #81F6AE
split-complementary
#818EF6 #F6AE81 #C8F681
monochromatic
#1129EC #485BF2 #818EF6 #BAC1FA #E2E5FD

Accessibility & contrast

On white

2.94
#818EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#818EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818EF6
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818EF6#FFFFFF#000000##000000
##818EF61.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BFA
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#55A4B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #818ef6;
/* rgb */ color: rgb(129, 142, 246);
/* oklch */ color: oklch(68.3% 0.153 276.2);
Tailwind
colors: {
  custom: {
    50: '#abaefa',
    500: '#818ef6',
    950: '#000000',
  },
}
SCSS
$custom: #818ef6;
$custom-light: #abaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#818ef6",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 233.333,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68281,
    "c": 0.15294,
    "h": 276.2
  },
  "luminance": 0.30667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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