#918EF8#918EF8

#918EF8 is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.5% C 0.153 H 283.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#918EF8
RGBrgb(145, 142, 248)
HSLhsl(242, 88%, 76%)
HSVhsv(242, 43%, 97%)
CMYKcmyk(41.5%, 42.7%, 0%, 2.7%)
CIE-LABlab(63.46, 26.77, -52.74)
CIE-LCHlch(63.46, 59.15, 296.91°)
OKLaboklab(69.54% 0.0343 -0.149)
OKLCHoklch(69.54% 0.153 283)
XYZxyz(38.2884, 32.1415, 92.9752)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918EF8 #F5F88E
analogous
#8EC0F8 #918EF8 #C68EF8
triadic
#918EF8 #F8918E #8EF891
tetradic
#918EF8 #F88EC0 #F5F88E #8EF8C6
square
#918EF8 #F88EC0 #F5F88E #8EF8C6
split-complementary
#918EF8 #F8C68E #C0F88E
monochromatic
#211BF1 #5954F4 #918EF8 #C9C8FC #E3E2FD

Accessibility & contrast

On white

2.83
#918EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#918EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918EF8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918EF8#FFFFFF#000000##000000
##918EF81.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#6296F6
Tritanopia (blue-blind)
#72A3B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #918ef8;
/* rgb */ color: rgb(145, 142, 248);
/* oklch */ color: oklch(69.5% 0.153 283.0);
Tailwind
colors: {
  custom: {
    50: '#b6affb',
    500: '#918ef8',
    950: '#000000',
  },
}
SCSS
$custom: #918ef8;
$custom-light: #b6affb;
$custom-dark: #000000;
JSON
{
  "hex": "#918ef8",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 241.698,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69542,
    "c": 0.15286,
    "h": 283
  },
  "luminance": 0.32143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #918EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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