#8D8CF7#8D8CF7

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

Color values

HEX#8D8CF7
RGBrgb(141, 140, 247)
HSLhsl(241, 87%, 76%)
HSVhsv(241, 43%, 97%)
CMYKcmyk(42.9%, 43.3%, 0%, 3.1%)
CIE-LABlab(62.62, 26.69, -53.55)
CIE-LCHlch(62.62, 59.83, 296.49°)
OKLaboklab(68.81% 0.0321 -0.1514)
OKLCHoklch(68.81% 0.155 282)
XYZxyz(37.1462, 31.1327, 92.0296)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8CF7 #F6F78C
analogous
#8CC0F7 #8D8CF7 #C28CF7
triadic
#8D8CF7 #F78D8C #8CF78D
tetradic
#8D8CF7 #F78CC0 #F6F78C #8CF7C2
square
#8D8CF7 #F78CC0 #F6F78C #8CF7C2
split-complementary
#8D8CF7 #F7C28C #C0F78C
monochromatic
#1C1AEF #5453F3 #8D8CF7 #C6C5FB #E3E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8CF7#FFFFFF#000000##000000
##8D8CF71.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#5E94F5
Tritanopia (blue-blind)
#6BA2B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8d8cf7;
/* rgb */ color: rgb(141, 140, 247);
/* oklch */ color: oklch(68.8% 0.155 282.0);
Tailwind
colors: {
  custom: {
    50: '#b3adfa',
    500: '#8d8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #8d8cf7;
$custom-light: #b3adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8cf7",
  "rgb": {
    "r": 141,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 240.561,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.68813,
    "c": 0.15478,
    "h": 282
  },
  "luminance": 0.31134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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