#918CED#918CED

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

Color values

HEX#918CED
RGBrgb(145, 140, 237)
HSLhsl(243, 73%, 74%)
HSVhsv(243, 41%, 93%)
CMYKcmyk(38.8%, 40.9%, 0%, 7.1%)
CIE-LABlab(62.41, 24.90, -48.34)
CIE-LCHlch(62.41, 54.38, 297.25°)
OKLaboklab(68.57% 0.0349 -0.1361)
OKLCHoklch(68.57% 0.141 284.4)
XYZxyz(36.3369, 30.8890, 84.1520)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918CED #E8ED8C
analogous
#8CB8ED #918CED #C28CED
triadic
#918CED #ED918C #8CED91
tetradic
#918CED #ED8CB8 #E8ED8C #8CEDC2
square
#918CED #ED8CB8 #E8ED8C #8CEDC2
split-complementary
#918CED #EDC28C #B8ED8C
monochromatic
#2C22DC #5E57E5 #918CED #C4C1F5 #E6E5FB

Accessibility & contrast

On white

2.93
#918CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##918CED#FFFFFF#000000##000000
##918CED1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF1
Deuteranopia (green-blind)
#6794EB
Tritanopia (blue-blind)
#779FB1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #918ced;
/* rgb */ color: rgb(145, 140, 237);
/* oklch */ color: oklch(68.6% 0.141 284.4);
Tailwind
colors: {
  custom: {
    50: '#b5adf3',
    500: '#918ced',
    950: '#000000',
  },
}
SCSS
$custom: #918ced;
$custom-light: #b5adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#918ced",
  "rgb": {
    "r": 145,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 243.093,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68566,
    "c": 0.14054,
    "h": 284.4
  },
  "luminance": 0.3089
}

Semantic roles & 50–950 ramp

primary
#918CED
secondary
#F1F3D8
accent
#D510CB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #918CED

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

Preview Lab → · Contrast checker → · Palette generator →

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