#8C8EE7#8C8EE7

#8C8EE7 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.2% C 0.130 H 281.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8C8EE7
RGBrgb(140, 142, 231)
HSLhsl(239, 65%, 73%)
HSVhsv(239, 39%, 91%)
CMYKcmyk(39.4%, 38.5%, 0%, 9.4%)
CIE-LABlab(62.24, 20.81, -45.32)
CIE-LCHlch(62.24, 49.87, 294.66°)
OKLaboklab(68.25% 0.0257 -0.1274)
OKLCHoklch(68.25% 0.13 281.4)
XYZxyz(34.9079, 30.6896, 79.6702)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EE7 #E7E58C
analogous
#8CBCE7 #8C8EE7 #B78CE7
triadic
#8C8EE7 #E78C8E #8EE78C
tetradic
#8C8EE7 #E78CBC #E7E58C #8CE7B7
square
#8C8EE7 #E78CBC #E7E58C #8CE7B7
split-complementary
#8C8EE7 #E7B78C #BCE78C
monochromatic
#2B2FCE #595CDC #8C8EE7 #BFC0F2 #E6E6FA

Accessibility & contrast

On white

2.94
#8C8EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#8C8EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8EE7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EE7#FFFFFF#000000##000000
##8C8EE71.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEA
Deuteranopia (green-blind)
#6B93E5
Tritanopia (blue-blind)
#71A0AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8c8ee7;
/* rgb */ color: rgb(140, 142, 231);
/* oklch */ color: oklch(68.2% 0.130 281.4);
Tailwind
colors: {
  custom: {
    50: '#b1afef',
    500: '#8c8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ee7;
$custom-light: #b1afef;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ee7",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 238.681,
    "s": 65.468,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68248,
    "c": 0.12997,
    "h": 281.4
  },
  "luminance": 0.30691
}

Semantic roles & 50–950 ramp

primary
#8C8EE7
secondary
#F1F1DA
accent
#C918CD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8C8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

#8C8EE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva