#8C8BF7#8C8BF7

#8C8BF7 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.6% C 0.156 H 281.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8C8BF7
RGBrgb(140, 139, 247)
HSLhsl(241, 87%, 76%)
HSVhsv(241, 44%, 97%)
CMYKcmyk(43.3%, 43.7%, 0%, 3.1%)
CIE-LABlab(62.30, 27.03, -54.06)
CIE-LCHlch(62.30, 60.44, 296.56°)
OKLaboklab(68.55% 0.0322 -0.1529)
OKLCHoklch(68.55% 0.156 281.9)
XYZxyz(36.8314, 30.7544, 91.9732)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8BF7 #F6F78B
analogous
#8BC0F7 #8C8BF7 #C28BF7
triadic
#8C8BF7 #F78C8B #8BF78C
tetradic
#8C8BF7 #F78BC0 #F6F78B #8BF7C2
square
#8C8BF7 #F78BC0 #F6F78B #8BF7C2
split-complementary
#8C8BF7 #F7C28B #C0F78B
monochromatic
#1A18EF #5352F3 #8C8BF7 #C5C4FB #E3E2FD

Accessibility & contrast

On white

2.94
#8C8BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8C8BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8BF7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8BF7#FFFFFF#000000##000000
##8C8BF71.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFB
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#6AA1B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8c8bf7;
/* rgb */ color: rgb(140, 139, 247);
/* oklch */ color: oklch(68.6% 0.156 281.9);
Tailwind
colors: {
  custom: {
    50: '#b2acfa',
    500: '#8c8bf7',
    950: '#000000',
  },
}
SCSS
$custom: #8c8bf7;
$custom-light: #b2acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8bf7",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 240.556,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.68551,
    "c": 0.15629,
    "h": 281.9
  },
  "luminance": 0.30756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C8BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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