#918EF9#918EF9

#918EF9 is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.6% C 0.154 H 282.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#918EF9
RGBrgb(145, 142, 249)
HSLhsl(242, 90%, 77%)
HSVhsv(242, 43%, 98%)
CMYKcmyk(41.8%, 43%, 0%, 2.4%)
CIE-LABlab(63.51, 27.05, -53.21)
CIE-LCHlch(63.51, 59.69, 296.95°)
OKLaboklab(69.6% 0.0344 -0.1503)
OKLCHoklch(69.6% 0.154 282.9)
XYZxyz(38.4440, 32.2037, 93.7945)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918EF9 #F6F98E
analogous
#8EC1F9 #918EF9 #C78EF9
triadic
#918EF9 #F9918E #8EF991
tetradic
#918EF9 #F98EC1 #F6F98E #8EF9C7
square
#918EF9 #F98EC1 #F6F98E #8EF9C7
split-complementary
#918EF9 #F9C78E #C1F98E
monochromatic
#201AF3 #5854F6 #918EF9 #CAC8FC #E3E2FD

Accessibility & contrast

On white

2.82
#918EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#918EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918EF9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918EF9#FFFFFF#000000##000000
##918EF91.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFD
Deuteranopia (green-blind)
#6296F7
Tritanopia (blue-blind)
#71A4B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #918ef9;
/* rgb */ color: rgb(145, 142, 249);
/* oklch */ color: oklch(69.6% 0.154 282.9);
Tailwind
colors: {
  custom: {
    50: '#b6affc',
    500: '#918ef9',
    950: '#000000',
  },
}
SCSS
$custom: #918ef9;
$custom-light: #b6affc;
$custom-dark: #000000;
JSON
{
  "hex": "#918ef9",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 241.682,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69598,
    "c": 0.15422,
    "h": 282.9
  },
  "luminance": 0.32205
}

Semantic roles & 50–950 ramp

primary
#918EF9
secondary
#F5F6D5
accent
#E600DF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #918EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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