#818CF7#818CF7

#818CF7 is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.157 H 276.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#818CF7
RGBrgb(129, 140, 247)
HSLhsl(234, 88%, 74%)
HSVhsv(234, 48%, 97%)
CMYKcmyk(47.8%, 43.3%, 0%, 3.1%)
CIE-LABlab(61.77, 23.89, -54.95)
CIE-LCHlch(61.77, 59.91, 293.50°)
OKLaboklab(67.95% 0.019 -0.1558)
OKLCHoklch(67.95% 0.157 276.9)
XYZxyz(35.2146, 30.1367, 91.9391)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818CF7 #F7EC81
analogous
#81C7F7 #818CF7 #B181F7
triadic
#818CF7 #F7818C #8CF781
tetradic
#818CF7 #F781C7 #F7EC81 #81F7B1
square
#818CF7 #F781C7 #F7EC81 #81F7B1
split-complementary
#818CF7 #F7B181 #C7F781
monochromatic
#0F24EE #4757F3 #818CF7 #BBC1FB #E2E5FD

Accessibility & contrast

On white

2.99
#818CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#818CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818CF7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818CF7#FFFFFF#000000##000000
##818CF71.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#54A3B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #818cf7;
/* rgb */ color: rgb(129, 140, 247);
/* oklch */ color: oklch(68.0% 0.157 276.9);
Tailwind
colors: {
  custom: {
    50: '#acadfa',
    500: '#818cf7',
    950: '#000000',
  },
}
SCSS
$custom: #818cf7;
$custom-light: #acadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#818cf7",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 234.407,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67953,
    "c": 0.15693,
    "h": 276.9
  },
  "luminance": 0.30139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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