#918CD2#918CD2

#918CD2 is a light, moderate blue. Relative luminance 0.294; OKLCH L 67.2% C 0.103 H 286.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#918CD2
RGBrgb(145, 140, 210)
HSLhsl(244, 44%, 69%)
HSVhsv(244, 33%, 82%)
CMYKcmyk(31%, 33.3%, 0%, 17.6%)
CIE-LABlab(61.16, 17.72, -35.30)
CIE-LCHlch(61.16, 39.50, 296.66°)
OKLaboklab(67.19% 0.0292 -0.0983)
OKLCHoklch(67.19% 0.103 286.6)
XYZxyz(32.6849, 29.4283, 64.9184)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918CD2 #CDD28C
analogous
#8CAAD2 #918CD2 #B48CD2
triadic
#918CD2 #D2918C #8CD291
tetradic
#918CD2 #D28CAA #CDD28C #8CD2B4
square
#918CD2 #D28CAA #CDD28C #8CD2B4
split-complementary
#918CD2 #D2B48C #AAD28C
monochromatic
#4740A4 #6760C1 #918CD2 #BBB8E3 #E5E4F4

Accessibility & contrast

On white

3.05
#918CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#918CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918CD2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918CD2#FFFFFF#000000##000000
##918CD21.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D5
Deuteranopia (green-blind)
#7692D0
Tritanopia (blue-blind)
#8199A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #918cd2;
/* rgb */ color: rgb(145, 140, 210);
/* oklch */ color: oklch(67.2% 0.103 286.6);
Tailwind
colors: {
  custom: {
    50: '#b3ade0',
    500: '#918cd2',
    950: '#000000',
  },
}
SCSS
$custom: #918cd2;
$custom-light: #b3ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#918cd2",
  "rgb": {
    "r": 145,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 244.286,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67194,
    "c": 0.10255,
    "h": 286.6
  },
  "luminance": 0.29429
}

Semantic roles & 50–950 ramp

primary
#918CD2
secondary
#E6E7D2
accent
#B72FAD
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #918CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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