#918BF9#918BF9

#918BF9 is a light, vivid blue. Relative luminance 0.313; OKLCH L 69.0% C 0.158 H 283.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#918BF9
RGBrgb(145, 139, 249)
HSLhsl(243, 90%, 76%)
HSVhsv(243, 44%, 98%)
CMYKcmyk(41.8%, 44.2%, 0%, 2.4%)
CIE-LABlab(62.78, 28.79, -54.37)
CIE-LCHlch(62.78, 61.52, 297.90°)
OKLaboklab(69.04% 0.0381 -0.1537)
OKLCHoklch(69.04% 0.158 283.9)
XYZxyz(38.0036, 31.3230, 93.6477)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918BF9 #F3F98B
analogous
#8BBCF9 #918BF9 #C88BF9
triadic
#918BF9 #F9918B #8BF991
tetradic
#918BF9 #F98BBC #F3F98B #8BF9C8
square
#918BF9 #F98BBC #F3F98B #8BF9C8
split-complementary
#918BF9 #F9C88B #BCF98B
monochromatic
#2317F3 #5A51F6 #918BF9 #C8C5FC #E3E2FD

Accessibility & contrast

On white

2.89
#918BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#918BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918BF9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918BF9#FFFFFF#000000##000000
##918BF91.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#71A1B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #918bf9;
/* rgb */ color: rgb(145, 139, 249);
/* oklch */ color: oklch(69.0% 0.158 283.9);
Tailwind
colors: {
  custom: {
    50: '#b6adfc',
    500: '#918bf9',
    950: '#000000',
  },
}
SCSS
$custom: #918bf9;
$custom-light: #b6adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#918bf9",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 243.273,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69043,
    "c": 0.1584,
    "h": 283.9
  },
  "luminance": 0.31325
}

Semantic roles & 50–950 ramp

primary
#918BF9
secondary
#F4F6D5
accent
#E600D9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #918BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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