#918CF8#918CF8

#918CF8 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.2% C 0.156 H 283.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#918CF8
RGBrgb(145, 140, 248)
HSLhsl(243, 89%, 76%)
HSVhsv(243, 44%, 97%)
CMYKcmyk(41.5%, 43.5%, 0%, 2.7%)
CIE-LABlab(62.97, 27.93, -53.52)
CIE-LCHlch(62.97, 60.37, 297.56°)
OKLaboklab(69.17% 0.0367 -0.1512)
OKLCHoklch(69.17% 0.156 283.6)
XYZxyz(37.9935, 31.5517, 92.8769)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918CF8 #F3F88C
analogous
#8CBDF8 #918CF8 #C78CF8
triadic
#918CF8 #F8918C #8CF891
tetradic
#918CF8 #F88CBD #F3F88C #8CF8C7
square
#918CF8 #F88CBD #F3F88C #8CF8C7
split-complementary
#918CF8 #F8C78C #BDF88C
monochromatic
#2319F1 #5A52F4 #918CF8 #C8C6FC #E3E2FD

Accessibility & contrast

On white

2.87
#918CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#918CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918CF8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918CF8#FFFFFF#000000##000000
##918CF81.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#6095F6
Tritanopia (blue-blind)
#72A2B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #918cf8;
/* rgb */ color: rgb(145, 140, 248);
/* oklch */ color: oklch(69.2% 0.156 283.6);
Tailwind
colors: {
  custom: {
    50: '#b6adfb',
    500: '#918cf8',
    950: '#000000',
  },
}
SCSS
$custom: #918cf8;
$custom-light: #b6adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#918cf8",
  "rgb": {
    "r": 145,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 242.778,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69171,
    "c": 0.15564,
    "h": 283.6
  },
  "luminance": 0.31553
}

Semantic roles & 50–950 ramp

primary
#918CF8
secondary
#F4F5D6
accent
#E500DB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #918CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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