#918BFA#918BFA

#918BFA is a light, vivid blue. Relative luminance 0.314; OKLCH L 69.1% C 0.160 H 283.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#918BFA
RGBrgb(145, 139, 250)
HSLhsl(243, 92%, 76%)
HSVhsv(243, 44%, 98%)
CMYKcmyk(42%, 44.4%, 0%, 2%)
CIE-LABlab(62.83, 29.07, -54.84)
CIE-LCHlch(62.83, 62.07, 297.93°)
OKLaboklab(69.1% 0.0382 -0.1551)
OKLCHoklch(69.1% 0.16 283.8)
XYZxyz(38.1600, 31.3855, 94.4713)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918BFA #F4FA8B
analogous
#8BBDFA #918BFA #C98BFA
triadic
#918BFA #FA918B #8BFA91
tetradic
#918BFA #FA8BBD #F4FA8B #8BFAC9
square
#918BFA #FA8BBD #F4FA8B #8BFAC9
split-complementary
#918BFA #FAC98B #BDFA8B
monochromatic
#2216F5 #5950F7 #918BFA #C9C6FD #E3E2FE

Accessibility & contrast

On white

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

On black

7.28
#918BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918BFA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918BFA#FFFFFF#000000##000000
##918BFA1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#5D94F7
Tritanopia (blue-blind)
#71A2B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #918bfa;
/* rgb */ color: rgb(145, 139, 250);
/* oklch */ color: oklch(69.1% 0.160 283.8);
Tailwind
colors: {
  custom: {
    50: '#b6adfc',
    500: '#918bfa',
    950: '#000000',
  },
}
SCSS
$custom: #918bfa;
$custom-light: #b6adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#918bfa",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 243.243,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.691,
    "c": 0.15975,
    "h": 283.8
  },
  "luminance": 0.31387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #918BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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