#918BF6#918BF6

#918BF6 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.9% C 0.154 H 284.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#918BF6
RGBrgb(145, 139, 246)
HSLhsl(243, 86%, 75%)
HSVhsv(243, 43%, 96%)
CMYKcmyk(41.1%, 43.5%, 0%, 3.5%)
CIE-LABlab(62.62, 27.95, -52.97)
CIE-LCHlch(62.62, 59.90, 297.82°)
OKLaboklab(68.87% 0.0376 -0.1496)
OKLCHoklch(68.87% 0.154 284.1)
XYZxyz(37.5394, 31.1373, 91.2031)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918BF6 #F0F68B
analogous
#8BBBF6 #918BF6 #C68BF6
triadic
#918BF6 #F6918B #8BF691
tetradic
#918BF6 #F68BBB #F0F68B #8BF6C6
square
#918BF6 #F68BBB #F0F68B #8BF6C6
split-complementary
#918BF6 #F6C68B #BBF68B
monochromatic
#2519ED #5B52F2 #918BF6 #C7C4FA #E4E3FD

Accessibility & contrast

On white

2.91
#918BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#918BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918BF6
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918BF6#FFFFFF#000000##000000
##918BF61.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#6094F4
Tritanopia (blue-blind)
#73A1B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #918bf6;
/* rgb */ color: rgb(145, 139, 246);
/* oklch */ color: oklch(68.9% 0.154 284.1);
Tailwind
colors: {
  custom: {
    50: '#b5adfa',
    500: '#918bf6',
    950: '#000000',
  },
}
SCSS
$custom: #918bf6;
$custom-light: #b5adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#918bf6",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 243.364,
    "s": 85.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.68874,
    "c": 0.15431,
    "h": 284.1
  },
  "luminance": 0.31139
}

Semantic roles & 50–950 ramp

primary
#918BF6
secondary
#F3F5D6
accent
#E203D6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #918BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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