#918EDA#918EDA

#918EDA is a light, moderate blue. Relative luminance 0.304; OKLCH L 68.0% C 0.111 H 284.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#918EDA
RGBrgb(145, 142, 218)
HSLhsl(242, 51%, 71%)
HSVhsv(242, 35%, 85%)
CMYKcmyk(33.5%, 34.9%, 0%, 14.5%)
CIE-LABlab(62.02, 18.65, -38.42)
CIE-LCHlch(62.02, 42.71, 295.89°)
OKLaboklab(67.97% 0.0284 -0.1073)
OKLCHoklch(67.97% 0.111 284.8)
XYZxyz(34.0015, 30.4267, 70.3976)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918EDA #D7DA8E
analogous
#8EB1DA #918EDA #B78EDA
triadic
#918EDA #DA918E #8EDA91
tetradic
#918EDA #DA8EB1 #D7DA8E #8EDAB7
square
#918EDA #DA8EB1 #D7DA8E #8EDAB7
split-complementary
#918EDA #DAB78E #B1DA8E
monochromatic
#3F3BB3 #6460CB #918EDA #BEBCE9 #E9E8F7

Accessibility & contrast

On white

2.96
#918EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#918EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918EDA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918EDA#FFFFFF#000000##000000
##918EDA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DD
Deuteranopia (green-blind)
#7594D8
Tritanopia (blue-blind)
#7E9CAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #918eda;
/* rgb */ color: rgb(145, 142, 218);
/* oklch */ color: oklch(68.0% 0.111 284.8);
Tailwind
colors: {
  custom: {
    50: '#b3afe5',
    500: '#918eda',
    950: '#000000',
  },
}
SCSS
$custom: #918eda;
$custom-light: #b3afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#918eda",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 242.368,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67973,
    "c": 0.11101,
    "h": 284.8
  },
  "luminance": 0.30428
}

Semantic roles & 50–950 ramp

primary
#918EDA
secondary
#EBECD8
accent
#BE27B8
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #918EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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