#8C8CF9#8C8CF9

#8C8CF9 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.9% C 0.158 H 281.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8C8CF9
RGBrgb(140, 140, 249)
HSLhsl(240, 90%, 76%)
HSVhsv(240, 44%, 98%)
CMYKcmyk(43.8%, 43.8%, 0%, 2.4%)
CIE-LABlab(62.65, 27.01, -54.60)
CIE-LCHlch(62.65, 60.92, 296.32°)
OKLaboklab(68.85% 0.0313 -0.1545)
OKLCHoklch(68.85% 0.158 281.4)
XYZxyz(37.2871, 31.1695, 93.6558)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8CF9 #F9F98C
analogous
#8CC3F9 #8C8CF9 #C38CF9
triadic
#8C8CF9 #F98C8C #8CF98C
tetradic
#8C8CF9 #F98CC3 #F9F98C #8CF9C3
square
#8C8CF9 #F98CC3 #F9F98C #8CF9C3
split-complementary
#8C8CF9 #F9C38C #C3F98C
monochromatic
#1818F3 #5252F6 #8C8CF9 #C6C6FC #E2E2FD

Accessibility & contrast

On white

2.90
#8C8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8C8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8CF9
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8CF9#FFFFFF#000000##000000
##8C8CF91.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#68A2B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8c8cf9;
/* rgb */ color: rgb(140, 140, 249);
/* oklch */ color: oklch(68.9% 0.158 281.4);
Tailwind
colors: {
  custom: {
    50: '#b3adfc',
    500: '#8c8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #8c8cf9;
$custom-light: #b3adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8cf9",
  "rgb": {
    "r": 140,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 240,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.68852,
    "c": 0.15765,
    "h": 281.4
  },
  "luminance": 0.31171
}

Semantic roles & 50–950 ramp

primary
#8C8CF9
secondary
#F6F6D5
accent
#E600E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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