#8D8CF8#8D8CF8

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

Color values

HEX#8D8CF8
RGBrgb(141, 140, 248)
HSLhsl(241, 89%, 76%)
HSVhsv(241, 44%, 97%)
CMYKcmyk(43.1%, 43.5%, 0%, 2.7%)
CIE-LABlab(62.67, 26.97, -54.01)
CIE-LCHlch(62.67, 60.37, 296.53°)
OKLaboklab(68.87% 0.0322 -0.1528)
OKLCHoklch(68.87% 0.156 281.9)
XYZxyz(37.3009, 31.1945, 92.8445)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8CF8 #F7F88C
analogous
#8CC1F8 #8D8CF8 #C38CF8
triadic
#8D8CF8 #F88D8C #8CF88D
tetradic
#8D8CF8 #F88CC1 #F7F88C #8CF8C3
square
#8D8CF8 #F88CC1 #F7F88C #8CF8C3
split-complementary
#8D8CF8 #F8C38C #C1F88C
monochromatic
#1B19F1 #5452F4 #8D8CF8 #C6C6FC #E2E2FD

Accessibility & contrast

On white

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

On black

7.24
#8D8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D8CF8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8CF8#FFFFFF#000000##000000
##8D8CF81.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFC
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#6BA2B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8d8cf8;
/* rgb */ color: rgb(141, 140, 248);
/* oklch */ color: oklch(68.9% 0.156 281.9);
Tailwind
colors: {
  custom: {
    50: '#b3adfb',
    500: '#8d8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #8d8cf8;
$custom-light: #b3adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8cf8",
  "rgb": {
    "r": 141,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 240.556,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.68869,
    "c": 0.15614,
    "h": 281.9
  },
  "luminance": 0.31196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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