#8C8EDF#8C8EDF

#8C8EDF is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.8% C 0.119 H 281.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8C8EDF
RGBrgb(140, 142, 223)
HSLhsl(239, 56%, 71%)
HSVhsv(239, 37%, 87%)
CMYKcmyk(37.2%, 36.3%, 0%, 12.5%)
CIE-LABlab(61.87, 18.62, -41.47)
CIE-LCHlch(61.87, 45.46, 294.17°)
OKLaboklab(67.84% 0.024 -0.1162)
OKLCHoklch(67.84% 0.119 281.7)
XYZxyz(33.8037, 30.2479, 73.8551)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EDF #DFDD8C
analogous
#8CB7DF #8C8EDF #B38CDF
triadic
#8C8EDF #DF8C8E #8EDF8C
tetradic
#8C8EDF #DF8CB7 #DFDD8C #8CDFB3
square
#8C8EDF #DF8CB7 #DFDD8C #8CDFB3
split-complementary
#8C8EDF #DFB38C #B7DF8C
monochromatic
#3438BC #5C5FD2 #8C8EDF #BCBDEC #E7E7F8

Accessibility & contrast

On white

2.98
#8C8EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#8C8EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8EDF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EDF#FFFFFF#000000##000000
##8C8EDF1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E2
Deuteranopia (green-blind)
#7093DD
Tritanopia (blue-blind)
#759EAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8c8edf;
/* rgb */ color: rgb(140, 142, 223);
/* oklch */ color: oklch(67.8% 0.119 281.7);
Tailwind
colors: {
  custom: {
    50: '#b0afe9',
    500: '#8c8edf',
    950: '#000000',
  },
}
SCSS
$custom: #8c8edf;
$custom-light: #b0afe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8edf",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 223
  },
  "hsl": {
    "h": 238.554,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.11869,
    "h": 281.7
  },
  "luminance": 0.30249
}

Semantic roles & 50–950 ramp

primary
#8C8EDF
secondary
#EEEED8
accent
#C021C4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8C8EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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