#918DF7#918DF7

#918DF7 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.3% C 0.153 H 283.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#918DF7
RGBrgb(145, 141, 247)
HSLhsl(242, 87%, 76%)
HSVhsv(242, 43%, 97%)
CMYKcmyk(41.3%, 42.9%, 0%, 3.1%)
CIE-LABlab(63.16, 27.07, -52.66)
CIE-LCHlch(63.16, 59.22, 297.21°)
OKLaboklab(69.3% 0.0353 -0.1487)
OKLCHoklch(69.3% 0.153 283.4)
XYZxyz(37.9856, 31.7834, 92.1110)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918DF7 #F3F78D
analogous
#8DBEF7 #918DF7 #C68DF7
triadic
#918DF7 #F7918D #8DF791
tetradic
#918DF7 #F78DBE #F3F78D #8DF7C6
square
#918DF7 #F78DBE #F3F78D #8DF7C6
split-complementary
#918DF7 #F7C68D #BEF78D
monochromatic
#231BEF #5A54F3 #918DF7 #C8C6FB #E3E2FD

Accessibility & contrast

On white

2.85
#918DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#918DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918DF7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918DF7#FFFFFF#000000##000000
##918DF71.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#6295F5
Tritanopia (blue-blind)
#72A2B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #918df7;
/* rgb */ color: rgb(145, 141, 247);
/* oklch */ color: oklch(69.3% 0.153 283.4);
Tailwind
colors: {
  custom: {
    50: '#b5aefa',
    500: '#918df7',
    950: '#000000',
  },
}
SCSS
$custom: #918df7;
$custom-light: #b5aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#918df7",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 242.264,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69301,
    "c": 0.15288,
    "h": 283.4
  },
  "luminance": 0.31785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #918DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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