#918FC4#918FC4

#918FC4 is a light, moderate blue. Relative luminance 0.296; OKLCH L 67.2% C 0.078 H 285.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#918FC4
RGBrgb(145, 143, 196)
HSLhsl(242, 31%, 66%)
HSVhsv(242, 27%, 77%)
CMYKcmyk(26%, 27%, 0%, 23.1%)
CIE-LABlab(61.35, 12.46, -27.14)
CIE-LCHlch(61.35, 29.87, 294.66°)
OKLaboklab(67.15% 0.0212 -0.0749)
OKLCHoklch(67.15% 0.078 285.8)
XYZxyz(31.4608, 29.6496, 56.2792)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918FC4 #C2C48F
analogous
#8FA8C4 #918FC4 #AC8FC4
triadic
#918FC4 #C4918F #8FC491
tetradic
#918FC4 #C48FA8 #C2C48F #8FC4AC
square
#918FC4 #C48FA8 #C2C48F #8FC4AC
split-complementary
#918FC4 #C4AC8F #A8C48F
monochromatic
#4D4B8E #6A67AF #918FC4 #B8B7D9 #E0DFEE

Accessibility & contrast

On white

3.03
#918FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#918FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918FC4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918FC4#FFFFFF#000000##000000
##918FC41.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8196C6
Deuteranopia (green-blind)
#8093C3
Tritanopia (blue-blind)
#8598A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #918fc4;
/* rgb */ color: rgb(145, 143, 196);
/* oklch */ color: oklch(67.2% 0.078 285.8);
Tailwind
colors: {
  custom: {
    50: '#b2afd6',
    500: '#918fc4',
    950: '#000000',
  },
}
SCSS
$custom: #918fc4;
$custom-light: #b2afd6;
$custom-dark: #000000;
JSON
{
  "hex": "#918fc4",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 196
  },
  "hsl": {
    "h": 242.264,
    "s": 30.994,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67151,
    "c": 0.07788,
    "h": 285.8
  },
  "luminance": 0.2965
}

Semantic roles & 50–950 ramp

primary
#918FC4
secondary
#DFE0CF
accent
#AA3CA6
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #918FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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