#918AF7#918AF7

#918AF7 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.7% C 0.157 H 284.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#918AF7
RGBrgb(145, 138, 247)
HSLhsl(244, 87%, 75%)
HSVhsv(244, 44%, 97%)
CMYKcmyk(41.3%, 44.1%, 0%, 3.1%)
CIE-LABlab(62.43, 28.81, -53.83)
CIE-LCHlch(62.43, 61.05, 298.16°)
OKLaboklab(68.75% 0.039 -0.1521)
OKLCHoklch(68.75% 0.157 284.4)
XYZxyz(37.5492, 30.9106, 91.9655)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918AF7 #F0F78A
analogous
#8AB9F7 #918AF7 #C78AF7
triadic
#918AF7 #F7918A #8AF791
tetradic
#918AF7 #F78AB9 #F0F78A #8AF7C7
square
#918AF7 #F78AB9 #F0F78A #8AF7C7
split-complementary
#918AF7 #F7C78A #B9F78A
monochromatic
#2517EF #5B51F3 #918AF7 #C7C3FB #E4E2FD

Accessibility & contrast

On white

2.92
#918AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#918AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918AF7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918AF7#FFFFFF#000000##000000
##918AF71.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#5E94F4
Tritanopia (blue-blind)
#72A0B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #918af7;
/* rgb */ color: rgb(145, 138, 247);
/* oklch */ color: oklch(68.7% 0.157 284.4);
Tailwind
colors: {
  custom: {
    50: '#b6acfa',
    500: '#918af7',
    950: '#000000',
  },
}
SCSS
$custom: #918af7;
$custom-light: #b6acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#918af7",
  "rgb": {
    "r": 145,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 243.853,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.68746,
    "c": 0.15707,
    "h": 284.4
  },
  "luminance": 0.30912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #918AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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