#918BF3#918BF3

#918BF3 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.7% C 0.150 H 284.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#918BF3
RGBrgb(145, 139, 243)
HSLhsl(243, 81%, 75%)
HSVhsv(243, 43%, 95%)
CMYKcmyk(40.3%, 42.8%, 0%, 4.7%)
CIE-LABlab(62.47, 27.12, -51.57)
CIE-LCHlch(62.47, 58.26, 297.75°)
OKLaboklab(68.71% 0.0372 -0.1455)
OKLCHoklch(68.71% 0.15 284.3)
XYZxyz(37.0827, 30.9546, 88.7976)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918BF3 #EDF38B
analogous
#8BB9F3 #918BF3 #C58BF3
triadic
#918BF3 #F3918B #8BF391
tetradic
#918BF3 #F38BB9 #EDF38B #8BF3C5
square
#918BF3 #F38BB9 #EDF38B #8BF3C5
split-complementary
#918BF3 #F3C58B #B9F38B
monochromatic
#281CE8 #5C54ED #918BF3 #C6C2F9 #E5E3FC

Accessibility & contrast

On white

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

On black

7.19
#918BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918BF3
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918BF3#FFFFFF#000000##000000
##918BF31.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#6294F1
Tritanopia (blue-blind)
#74A0B3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #918bf3;
/* rgb */ color: rgb(145, 139, 243);
/* oklch */ color: oklch(68.7% 0.150 284.3);
Tailwind
colors: {
  custom: {
    50: '#b5adf7',
    500: '#918bf3',
    950: '#000000',
  },
}
SCSS
$custom: #918bf3;
$custom-light: #b5adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#918bf3",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 243.462,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68707,
    "c": 0.15021,
    "h": 284.3
  },
  "luminance": 0.30956
}

Semantic roles & 50–950 ramp

primary
#918BF3
secondary
#F2F4D7
accent
#DE08D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #918BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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