#918AF1#918AF1

#918AF1 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.4% C 0.149 H 284.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#918AF1
RGBrgb(145, 138, 241)
HSLhsl(244, 79%, 74%)
HSVhsv(244, 43%, 95%)
CMYKcmyk(39.8%, 42.7%, 0%, 5.5%)
CIE-LABlab(62.12, 27.15, -51.01)
CIE-LCHlch(62.12, 57.79, 298.03°)
OKLaboklab(68.41% 0.0381 -0.1439)
OKLCHoklch(68.41% 0.149 284.8)
XYZxyz(36.6382, 30.5462, 87.1676)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918AF1 #EAF18A
analogous
#8AB7F1 #918AF1 #C58AF1
triadic
#918AF1 #F1918A #8AF191
tetradic
#918AF1 #F18AB7 #EAF18A #8AF1C5
square
#918AF1 #F18AB7 #EAF18A #8AF1C5
split-complementary
#918AF1 #F1C58A #B7F18A
monochromatic
#2A1DE4 #5E53EA #918AF1 #C4C1F8 #E5E4FC

Accessibility & contrast

On white

2.95
#918AF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#918AF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918AF1
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918AF1#FFFFFF#000000##000000
##918AF11.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F5
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#759EB2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #918af1;
/* rgb */ color: rgb(145, 138, 241);
/* oklch */ color: oklch(68.4% 0.149 284.8);
Tailwind
colors: {
  custom: {
    50: '#b5acf6',
    500: '#918af1',
    950: '#000000',
  },
}
SCSS
$custom: #918af1;
$custom-light: #b5acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#918af1",
  "rgb": {
    "r": 145,
    "g": 138,
    "b": 241
  },
  "hsl": {
    "h": 244.078,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68411,
    "c": 0.14888,
    "h": 284.8
  },
  "luminance": 0.30548
}

Semantic roles & 50–950 ramp

primary
#918AF1
secondary
#F2F4D7
accent
#DB0BCD
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #918AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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