#918BC2#918BC2

#918BC2 is a light, moderate blue. Relative luminance 0.284; OKLCH L 66.3% C 0.081 H 289.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#918BC2
RGBrgb(145, 139, 194)
HSLhsl(247, 31%, 65%)
HSVhsv(247, 28%, 76%)
CMYKcmyk(25.3%, 28.4%, 0%, 23.9%)
CIE-LABlab(60.23, 14.28, -27.75)
CIE-LCHlch(60.23, 31.20, 297.23°)
OKLaboklab(66.26% 0.0264 -0.0766)
OKLCHoklch(66.26% 0.081 289)
XYZxyz(30.6449, 28.3795, 54.8917)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918BC2 #BCC28B
analogous
#8BA1C2 #918BC2 #AC8BC2
triadic
#918BC2 #C2918B #8BC291
tetradic
#918BC2 #C28BA1 #BCC28B #8BC2AC
square
#918BC2 #C28BA1 #BCC28B #8BC2AC
split-complementary
#918BC2 #C2AC8B #A1C28B
monochromatic
#50498A #6B63AD #918BC2 #B7B3D7 #DDDBEC

Accessibility & contrast

On white

3.15
#918BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#918BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918BC2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918BC2#FFFFFF#000000##000000
##918BC21.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D92C4
Deuteranopia (green-blind)
#7C90C1
Tritanopia (blue-blind)
#86949E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #918bc2;
/* rgb */ color: rgb(145, 139, 194);
/* oklch */ color: oklch(66.3% 0.081 289.0);
Tailwind
colors: {
  custom: {
    50: '#b2acd4',
    500: '#918bc2',
    950: '#000000',
  },
}
SCSS
$custom: #918bc2;
$custom-light: #b2acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#918bc2",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 246.545,
    "s": 31.073,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66259,
    "c": 0.08104,
    "h": 289
  },
  "luminance": 0.2838
}

Semantic roles & 50–950 ramp

primary
#918BC2
secondary
#DCDECB
accent
#AA3C9E
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #918BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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