#8C8EFC#8C8EFC

#8C8EFC is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.4% C 0.159 H 280.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8C8EFC
RGBrgb(140, 142, 252)
HSLhsl(239, 95%, 77%)
HSVhsv(239, 44%, 99%)
CMYKcmyk(44.4%, 43.7%, 0%, 1.2%)
CIE-LABlab(63.30, 26.71, -55.21)
CIE-LCHlch(63.30, 61.33, 295.81°)
OKLaboklab(69.4% 0.0293 -0.1563)
OKLCHoklch(69.4% 0.159 280.6)
XYZxyz(38.0537, 31.9479, 96.2381)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EFC #FCFA8C
analogous
#8CC6FC #8C8EFC #C28CFC
triadic
#8C8EFC #FC8C8E #8EFC8C
tetradic
#8C8EFC #FC8CC6 #FCFA8C #8CFCC2
square
#8C8EFC #FC8CC6 #FCFA8C #8CFCC2
split-complementary
#8C8EFC #FCC28C #C6FC8C
monochromatic
#1519F9 #5053FA #8C8EFC #C8C9FE #E1E2FE

Accessibility & contrast

On white

2.84
#8C8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#8C8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8EFC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EFC#FFFFFF#000000##000000
##8C8EFC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#5C95FA
Tritanopia (blue-blind)
#67A5B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8c8efc;
/* rgb */ color: rgb(140, 142, 252);
/* oklch */ color: oklch(69.4% 0.159 280.6);
Tailwind
colors: {
  custom: {
    50: '#b3affe',
    500: '#8c8efc',
    950: '#000000',
  },
}
SCSS
$custom: #8c8efc;
$custom-light: #b3affe;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8efc",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 238.929,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.69396,
    "c": 0.15904,
    "h": 280.6
  },
  "luminance": 0.3195
}

Semantic roles & 50–950 ramp

primary
#8C8EFC
secondary
#F6F6D5
accent
#E100E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8C8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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