#8C8ECA#8C8ECA

#8C8ECA is a light, moderate blue. Relative luminance 0.292; OKLCH L 66.8% C 0.089 H 282.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8C8ECA
RGBrgb(140, 142, 202)
HSLhsl(238, 37%, 67%)
HSVhsv(238, 31%, 79%)
CMYKcmyk(30.7%, 29.7%, 0%, 20.8%)
CIE-LABlab(60.94, 13.06, -31.18)
CIE-LCHlch(60.94, 33.80, 292.72°)
OKLaboklab(66.82% 0.0188 -0.0865)
OKLCHoklch(66.82% 0.089 282.2)
XYZxyz(31.1460, 29.1849, 59.8579)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8ECA #CAC88C
analogous
#8CADCA #8C8ECA #A98CCA
triadic
#8C8ECA #CA8C8E #8ECA8C
tetradic
#8C8ECA #CA8CAD #CAC88C #8CCAA9
square
#8C8ECA #CA8CAD #CAC88C #8CCAA9
split-complementary
#8C8ECA #CAA98C #ADCA8C
monochromatic
#454896 #6265B7 #8C8ECA #B6B7DD #E0E0F1

Accessibility & contrast

On white

3.07
#8C8ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#8C8ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8ECA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8ECA#FFFFFF#000000##000000
##8C8ECA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D95CD
Deuteranopia (green-blind)
#7A91C8
Tritanopia (blue-blind)
#7C99A3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8c8eca;
/* rgb */ color: rgb(140, 142, 202);
/* oklch */ color: oklch(66.8% 0.089 282.2);
Tailwind
colors: {
  custom: {
    50: '#afafda',
    500: '#8c8eca',
    950: '#000000',
  },
}
SCSS
$custom: #8c8eca;
$custom-light: #afafda;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8eca",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 238.065,
    "s": 36.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66821,
    "c": 0.08855,
    "h": 282.2
  },
  "luminance": 0.29186
}

Semantic roles & 50–950 ramp

primary
#8C8ECA
secondary
#E3E2CF
accent
#AC36B0
background
#FAFAFD
surface
#F5F4FA
border
#CFCED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8C8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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