#818FF8#818FF8

#818FF8 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.6% C 0.154 H 275.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#818FF8
RGBrgb(129, 143, 248)
HSLhsl(233, 89%, 74%)
HSVhsv(233, 48%, 97%)
CMYKcmyk(48%, 42.3%, 0%, 2.7%)
CIE-LABlab(62.58, 22.43, -54.21)
CIE-LCHlch(62.58, 58.66, 292.47°)
OKLaboklab(68.59% 0.0157 -0.1536)
OKLCHoklch(68.59% 0.154 275.8)
XYZxyz(35.8137, 31.0873, 92.9021)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818FF8 #F8EA81
analogous
#81CBF8 #818FF8 #AF81F8
triadic
#818FF8 #F8818F #8FF881
tetradic
#818FF8 #F881CB #F8EA81 #81F8AF
square
#818FF8 #F881CB #F8EA81 #81F8AF
split-complementary
#818FF8 #F8AF81 #CBF881
monochromatic
#0D28F1 #475BF5 #818FF8 #BBC3FB #E2E5FD

Accessibility & contrast

On white

2.91
#818FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#818FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818FF8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818FF8#FFFFFF#000000##000000
##818FF81.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFC
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#53A5B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #818ff8;
/* rgb */ color: rgb(129, 143, 248);
/* oklch */ color: oklch(68.6% 0.154 275.8);
Tailwind
colors: {
  custom: {
    50: '#acaffb',
    500: '#818ff8',
    950: '#000000',
  },
}
SCSS
$custom: #818ff8;
$custom-light: #acaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#818ff8",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 232.941,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.1544,
    "h": 275.8
  },
  "luminance": 0.31089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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