#918BFB#918BFB

#918BFB is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.2% C 0.161 H 283.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#918BFB
RGBrgb(145, 139, 251)
HSLhsl(243, 93%, 76%)
HSVhsv(243, 45%, 98%)
CMYKcmyk(42.2%, 44.6%, 0%, 1.6%)
CIE-LABlab(62.88, 29.35, -55.30)
CIE-LCHlch(62.88, 62.61, 297.95°)
OKLaboklab(69.16% 0.0384 -0.1565)
OKLCHoklch(69.16% 0.161 283.8)
XYZxyz(38.3172, 31.4484, 95.2993)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918BFB #F5FB8B
analogous
#8BBDFB #918BFB #C98BFB
triadic
#918BFB #FB918B #8BFB91
tetradic
#918BFB #FB8BBD #F5FB8B #8BFBC9
square
#918BFB #FB8BBD #F5FB8B #8BFBC9
split-complementary
#918BFB #FBC98B #BDFB8B
monochromatic
#2115F7 #5950F9 #918BFB #C9C6FD #E3E1FE

Accessibility & contrast

On white

2.88
#918BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#918BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918BFB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918BFB#FFFFFF#000000##000000
##918BFB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#5C95F8
Tritanopia (blue-blind)
#70A2B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #918bfb;
/* rgb */ color: rgb(145, 139, 251);
/* oklch */ color: oklch(69.2% 0.161 283.8);
Tailwind
colors: {
  custom: {
    50: '#b6adfd',
    500: '#918bfb',
    950: '#000000',
  },
}
SCSS
$custom: #918bfb;
$custom-light: #b6adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#918bfb",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 243.214,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69157,
    "c": 0.1611,
    "h": 283.8
  },
  "luminance": 0.3145
}

Semantic roles & 50–950 ramp

primary
#918BFB
secondary
#F4F6D5
accent
#E600D9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #918BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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