#918DFD#918DFD

#918DFD is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.6% C 0.161 H 283.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#918DFD
RGBrgb(145, 141, 253)
HSLhsl(242, 97%, 77%)
HSVhsv(242, 44%, 99%)
CMYKcmyk(42.7%, 44.3%, 0%, 0.8%)
CIE-LABlab(63.47, 28.75, -55.46)
CIE-LCHlch(63.47, 62.47, 297.40°)
OKLaboklab(69.64% 0.0362 -0.1569)
OKLCHoklch(69.64% 0.161 283)
XYZxyz(38.9264, 32.1597, 97.0659)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918DFD #F9FD8D
analogous
#8DC1FD #918DFD #C98DFD
triadic
#918DFD #FD918D #8DFD91
tetradic
#918DFD #FD8DC1 #F9FD8D #8DFDC9
square
#918DFD #FD8DC1 #F9FD8D #8DFDC9
split-complementary
#918DFD #FDC98D #C1FD8D
monochromatic
#1D15FB #5751FC #918DFD #CBC9FE #E2E1FE

Accessibility & contrast

On white

2.83
#918DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#918DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918DFD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918DFD#FFFFFF#000000##000000
##918DFD1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#6FA4B9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #918dfd;
/* rgb */ color: rgb(145, 141, 253);
/* oklch */ color: oklch(69.6% 0.161 283.0);
Tailwind
colors: {
  custom: {
    50: '#b6aefe',
    500: '#918dfd',
    950: '#000000',
  },
}
SCSS
$custom: #918dfd;
$custom-light: #b6aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#918dfd",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 242.143,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.69638,
    "c": 0.16105,
    "h": 283
  },
  "luminance": 0.32161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #918DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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