#818CF5#818CF5

#818CF5 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.8% C 0.154 H 276.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#818CF5
RGBrgb(129, 140, 245)
HSLhsl(234, 85%, 73%)
HSVhsv(234, 47%, 96%)
CMYKcmyk(47.3%, 42.9%, 0%, 3.9%)
CIE-LABlab(61.67, 23.30, -54.01)
CIE-LCHlch(61.67, 58.82, 293.33°)
OKLaboklab(67.84% 0.0187 -0.153)
OKLCHoklch(67.84% 0.154 276.9)
XYZxyz(34.9077, 30.0139, 90.3224)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818CF5 #F5EA81
analogous
#81C6F5 #818CF5 #B081F5
triadic
#818CF5 #F5818C #8CF581
tetradic
#818CF5 #F581C6 #F5EA81 #81F5B0
square
#818CF5 #F581C6 #F5EA81 #81F5B0
split-complementary
#818CF5 #F5B081 #C6F581
monochromatic
#1327E9 #4858F0 #818CF5 #BAC0F9 #E3E5FD

Accessibility & contrast

On white

3.00
#818CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#818CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818CF5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818CF5#FFFFFF#000000##000000
##818CF51.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#56A2B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #818cf5;
/* rgb */ color: rgb(129, 140, 245);
/* oklch */ color: oklch(67.8% 0.154 276.9);
Tailwind
colors: {
  custom: {
    50: '#abadf9',
    500: '#818cf5',
    950: '#000000',
  },
}
SCSS
$custom: #818cf5;
$custom-light: #abadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#818cf5",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 234.31,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67839,
    "c": 0.15418,
    "h": 276.9
  },
  "luminance": 0.30016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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