#8C8FEE#8C8FEE

#8C8FEE is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.8% C 0.138 H 280.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8C8FEE
RGBrgb(140, 143, 238)
HSLhsl(238, 74%, 74%)
HSVhsv(238, 41%, 93%)
CMYKcmyk(41.2%, 39.9%, 0%, 6.7%)
CIE-LABlab(62.84, 22.17, -48.25)
CIE-LCHlch(62.84, 53.10, 294.68°)
OKLaboklab(68.81% 0.0258 -0.136)
OKLCHoklch(68.81% 0.138 280.7)
XYZxyz(36.0658, 31.3919, 85.0313)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8FEE #EEEB8C
analogous
#8CC0EE #8C8FEE #BA8CEE
triadic
#8C8FEE #EE8C8F #8FEE8C
tetradic
#8C8FEE #EE8CC0 #EEEB8C #8CEEBA
square
#8C8FEE #EE8CC0 #EEEB8C #8CEEBA
split-complementary
#8C8FEE #EEBA8C #C0EE8C
monochromatic
#2127DE #575BE6 #8C8FEE #C1C3F6 #E4E5FB

Accessibility & contrast

On white

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

On black

7.28
#8C8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8FEE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8FEE#FFFFFF#000000##000000
##8C8FEE1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF2
Deuteranopia (green-blind)
#6895EC
Tritanopia (blue-blind)
#6EA2B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8c8fee;
/* rgb */ color: rgb(140, 143, 238);
/* oklch */ color: oklch(68.8% 0.138 280.7);
Tailwind
colors: {
  custom: {
    50: '#b1aff4',
    500: '#8c8fee',
    950: '#000000',
  },
}
SCSS
$custom: #8c8fee;
$custom-light: #b1aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8fee",
  "rgb": {
    "r": 140,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 238.163,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68812,
    "c": 0.13838,
    "h": 280.7
  },
  "luminance": 0.31393
}

Semantic roles & 50–950 ramp

primary
#8C8FEE
secondary
#F3F2D8
accent
#D00FD6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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