#8C8DF7#8C8DF7

#8C8DF7 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.9% C 0.154 H 281.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8C8DF7
RGBrgb(140, 141, 247)
HSLhsl(239, 87%, 76%)
HSVhsv(239, 43%, 97%)
CMYKcmyk(43.3%, 42.9%, 0%, 3.1%)
CIE-LABlab(62.79, 25.86, -53.28)
CIE-LCHlch(62.79, 59.22, 295.90°)
OKLaboklab(68.93% 0.0298 -0.1506)
OKLCHoklch(68.93% 0.154 281.2)
XYZxyz(37.1236, 31.3389, 92.0706)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8DF7 #F7F68C
analogous
#8CC2F7 #8C8DF7 #C08CF7
triadic
#8C8DF7 #F78C8D #8DF78C
tetradic
#8C8DF7 #F78CC2 #F7F68C #8CF7C0
square
#8C8DF7 #F78CC2 #F7F68C #8CF7C0
split-complementary
#8C8DF7 #F7C08C #C2F78C
monochromatic
#1A1CEF #5354F3 #8C8DF7 #C5C6FB #E2E3FD

Accessibility & contrast

On white

2.89
#8C8DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8C8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8DF7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8DF7#FFFFFF#000000##000000
##8C8DF71.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#5F94F5
Tritanopia (blue-blind)
#69A3B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8c8df7;
/* rgb */ color: rgb(140, 141, 247);
/* oklch */ color: oklch(68.9% 0.154 281.2);
Tailwind
colors: {
  custom: {
    50: '#b2aefa',
    500: '#8c8df7',
    950: '#000000',
  },
}
SCSS
$custom: #8c8df7;
$custom-light: #b2aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8df7",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 239.439,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.68926,
    "c": 0.15355,
    "h": 281.2
  },
  "luminance": 0.31341
}

Semantic roles & 50–950 ramp

primary
#8C8DF7
secondary
#F5F5D6
accent
#E102E4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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