#8C8DFB#8C8DFB

#8C8DFB is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.2% C 0.159 H 281.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8C8DFB
RGBrgb(140, 141, 251)
HSLhsl(239, 93%, 77%)
HSVhsv(239, 44%, 98%)
CMYKcmyk(44.2%, 43.8%, 0%, 1.6%)
CIE-LABlab(63.00, 27.00, -55.14)
CIE-LCHlch(63.00, 61.40, 296.09°)
OKLaboklab(69.15% 0.0304 -0.1561)
OKLCHoklch(69.15% 0.159 281)
XYZxyz(37.7475, 31.5885, 95.3563)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8DFB #FBFA8C
analogous
#8CC5FB #8C8DFB #C38CFB
triadic
#8C8DFB #FB8C8D #8DFB8C
tetradic
#8C8DFB #FB8CC5 #FBFA8C #8CFBC3
square
#8C8DFB #FB8CC5 #FBFA8C #8CFBC3
split-complementary
#8C8DFB #FBC38C #C5FB8C
monochromatic
#1618F7 #5152F9 #8C8DFB #C7C8FD #E1E2FE

Accessibility & contrast

On white

2.87
#8C8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8C8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8DFB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8DFB#FFFFFF#000000##000000
##8C8DFB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#5B94F9
Tritanopia (blue-blind)
#67A4B8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8c8dfb;
/* rgb */ color: rgb(140, 141, 251);
/* oklch */ color: oklch(69.2% 0.159 281.0);
Tailwind
colors: {
  custom: {
    50: '#b3aefd',
    500: '#8c8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #8c8dfb;
$custom-light: #b3aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8dfb",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 239.459,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69152,
    "c": 0.15903,
    "h": 281
  },
  "luminance": 0.3159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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