#918EFE#918EFE

#918EFE is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.9% C 0.161 H 282.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#918EFE
RGBrgb(145, 142, 254)
HSLhsl(242, 98%, 78%)
HSVhsv(242, 44%, 100%)
CMYKcmyk(42.9%, 44.1%, 0%, 0.4%)
CIE-LABlab(63.77, 28.45, -55.54)
CIE-LCHlch(63.77, 62.40, 297.13°)
OKLaboklab(69.88% 0.0352 -0.1571)
OKLCHoklch(69.88% 0.161 282.6)
XYZxyz(39.2342, 32.5198, 97.9564)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918EFE #FBFE8E
analogous
#8EC3FE #918EFE #C98EFE
triadic
#918EFE #FE918E #8EFE91
tetradic
#918EFE #FE8EC3 #FBFE8E #8EFEC9
square
#918EFE #FE8EC3 #FBFE8E #8EFEC9
split-complementary
#918EFE #FEC98E #C3FE8E
monochromatic
#1B15FD #5651FD #918EFE #CCCBFF #E1E1FF

Accessibility & contrast

On white

2.80
#918EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#918EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918EFE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918EFE#FFFFFF#000000##000000
##918EFE1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#6FA5BA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #918efe;
/* rgb */ color: rgb(145, 142, 254);
/* oklch */ color: oklch(69.9% 0.161 282.6);
Tailwind
colors: {
  custom: {
    50: '#b6afff',
    500: '#918efe',
    950: '#000000',
  },
}
SCSS
$custom: #918efe;
$custom-light: #b6afff;
$custom-dark: #000000;
JSON
{
  "hex": "#918efe",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 241.607,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.69879,
    "c": 0.16103,
    "h": 282.6
  },
  "luminance": 0.32522
}

Semantic roles & 50–950 ramp

primary
#918EFE
secondary
#F6F7D4
accent
#E600DF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #918EFE

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

Preview Lab → · Contrast checker → · Palette generator →

#918EFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva