#8C8CF8#8C8CF8

#8C8CF8 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.8% C 0.156 H 281.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8C8CF8
RGBrgb(140, 140, 248)
HSLhsl(240, 89%, 76%)
HSVhsv(240, 44%, 97%)
CMYKcmyk(43.5%, 43.5%, 0%, 2.7%)
CIE-LABlab(62.60, 26.73, -54.13)
CIE-LCHlch(62.60, 60.37, 296.28°)
OKLaboklab(68.8% 0.0311 -0.1532)
OKLCHoklch(68.8% 0.156 281.5)
XYZxyz(37.1316, 31.1072, 92.8365)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8CF8 #F8F88C
analogous
#8CC2F8 #8C8CF8 #C28CF8
triadic
#8C8CF8 #F88C8C #8CF88C
tetradic
#8C8CF8 #F88CC2 #F8F88C #8CF8C2
square
#8C8CF8 #F88CC2 #F8F88C #8CF8C2
split-complementary
#8C8CF8 #F8C28C #C2F88C
monochromatic
#1919F1 #5252F4 #8C8CF8 #C6C6FC #E2E2FD

Accessibility & contrast

On white

2.91
#8C8CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#8C8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8CF8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8CF8#FFFFFF#000000##000000
##8C8CF81.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFC
Deuteranopia (green-blind)
#5C94F6
Tritanopia (blue-blind)
#69A2B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8c8cf8;
/* rgb */ color: rgb(140, 140, 248);
/* oklch */ color: oklch(68.8% 0.156 281.5);
Tailwind
colors: {
  custom: {
    50: '#b2adfb',
    500: '#8c8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #8c8cf8;
$custom-light: #b2adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8cf8",
  "rgb": {
    "r": 140,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.68795,
    "c": 0.15629,
    "h": 281.5
  },
  "luminance": 0.31109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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