#818EF7#818EF7

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

Color values

HEX#818EF7
RGBrgb(129, 142, 247)
HSLhsl(233, 88%, 74%)
HSVhsv(233, 48%, 97%)
CMYKcmyk(47.8%, 42.5%, 0%, 3.1%)
CIE-LABlab(62.28, 22.72, -54.14)
CIE-LCHlch(62.28, 58.72, 292.76°)
OKLaboklab(68.34% 0.0167 -0.1534)
OKLCHoklch(68.34% 0.154 276.2)
XYZxyz(35.5095, 30.7265, 92.0374)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818EF7 #F7EA81
analogous
#81C9F7 #818EF7 #AF81F7
triadic
#818EF7 #F7818E #8EF781
tetradic
#818EF7 #F781C9 #F7EA81 #81F7AF
square
#818EF7 #F781C9 #F7EA81 #81F7AF
split-complementary
#818EF7 #F7AF81 #C9F781
monochromatic
#0F28EE #475AF3 #818EF7 #BBC2FB #E2E5FD

Accessibility & contrast

On white

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

On black

7.15
#818EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818EF7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818EF7#FFFFFF#000000##000000
##818EF71.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#54A4B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #818ef7;
/* rgb */ color: rgb(129, 142, 247);
/* oklch */ color: oklch(68.3% 0.154 276.2);
Tailwind
colors: {
  custom: {
    50: '#acaefa',
    500: '#818ef7',
    950: '#000000',
  },
}
SCSS
$custom: #818ef7;
$custom-light: #acaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#818ef7",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 233.39,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68338,
    "c": 0.15432,
    "h": 276.2
  },
  "luminance": 0.30729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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