#918EFD#918EFD

#918EFD is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.8% C 0.160 H 282.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#918EFD
RGBrgb(145, 142, 253)
HSLhsl(242, 97%, 77%)
HSVhsv(242, 44%, 99%)
CMYKcmyk(42.7%, 43.9%, 0%, 0.8%)
CIE-LABlab(63.72, 28.17, -55.07)
CIE-LCHlch(63.72, 61.86, 297.09°)
OKLaboklab(69.82% 0.035 -0.1558)
OKLCHoklch(69.82% 0.16 282.7)
XYZxyz(39.0745, 32.4559, 97.1152)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918EFD #FAFD8E
analogous
#8EC2FD #918EFD #C98EFD
triadic
#918EFD #FD918E #8EFD91
tetradic
#918EFD #FD8EC2 #FAFD8E #8EFDC9
square
#918EFD #FD8EC2 #FAFD8E #8EFDC9
split-complementary
#918EFD #FDC98E #C2FD8E
monochromatic
#1C16FB #5652FC #918EFD #CCCAFE #E2E1FE

Accessibility & contrast

On white

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

On black

7.49
#918EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918EFD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918EFD#FFFFFF#000000##000000
##918EFD1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#5E97FA
Tritanopia (blue-blind)
#6FA5B9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #918efd;
/* rgb */ color: rgb(145, 142, 253);
/* oklch */ color: oklch(69.8% 0.160 282.7);
Tailwind
colors: {
  custom: {
    50: '#b6affe',
    500: '#918efd',
    950: '#000000',
  },
}
SCSS
$custom: #918efd;
$custom-light: #b6affe;
$custom-dark: #000000;
JSON
{
  "hex": "#918efd",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 241.622,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.69822,
    "c": 0.15967,
    "h": 282.7
  },
  "luminance": 0.32458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #918EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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