#8C8DEC#8C8DEC

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

Color values

HEX#8C8DEC
RGBrgb(140, 141, 236)
HSLhsl(239, 72%, 74%)
HSVhsv(239, 41%, 93%)
CMYKcmyk(40.7%, 40.3%, 0%, 7.5%)
CIE-LABlab(62.24, 22.77, -48.10)
CIE-LCHlch(62.24, 53.22, 295.34°)
OKLaboklab(68.32% 0.0279 -0.1355)
OKLCHoklch(68.32% 0.138 281.6)
XYZxyz(35.4760, 30.6799, 83.3932)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8DEC #ECEB8C
analogous
#8CBDEC #8C8DEC #BB8CEC
triadic
#8C8DEC #EC8C8D #8DEC8C
tetradic
#8C8DEC #EC8CBD #ECEB8C #8CECBB
square
#8C8DEC #EC8CBD #ECEB8C #8CECBB
split-complementary
#8C8DEC #ECBB8C #BDEC8C
monochromatic
#2426DA #5759E3 #8C8DEC #C1C1F5 #E5E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8DEC#FFFFFF#000000##000000
##8C8DEC1.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)
#6B9AF0
Deuteranopia (green-blind)
#6793EA
Tritanopia (blue-blind)
#6FA0B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8c8dec;
/* rgb */ color: rgb(140, 141, 236);
/* oklch */ color: oklch(68.3% 0.138 281.6);
Tailwind
colors: {
  custom: {
    50: '#b1aef2',
    500: '#8c8dec',
    950: '#000000',
  },
}
SCSS
$custom: #8c8dec;
$custom-light: #b1aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8dec",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 239.375,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68321,
    "c": 0.13835,
    "h": 281.6
  },
  "luminance": 0.30681
}

Semantic roles & 50–950 ramp

primary
#8C8DEC
secondary
#F2F2D9
accent
#D212D4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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