#8D8FD8#8D8FD8

#8D8FD8 is a light, moderate blue. Relative luminance 0.303; OKLCH L 67.8% C 0.107 H 281.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8D8FD8
RGBrgb(141, 143, 216)
HSLhsl(238, 49%, 70%)
HSVhsv(238, 35%, 85%)
CMYKcmyk(34.7%, 33.8%, 0%, 15.3%)
CIE-LABlab(61.88, 16.43, -37.55)
CIE-LCHlch(61.88, 40.98, 293.63°)
OKLaboklab(67.76% 0.0222 -0.1049)
OKLCHoklch(67.76% 0.107 281.9)
XYZxyz(33.1982, 30.2644, 69.0449)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8FD8 #D8D68D
analogous
#8DB5D8 #8D8FD8 #B08DD8
triadic
#8D8FD8 #D88D8F #8FD88D
tetradic
#8D8FD8 #D88DB5 #D8D68D #8DD8B0
square
#8D8FD8 #D88DB5 #D8D68D #8DD8B0
split-complementary
#8D8FD8 #D8B08D #B5D88D
monochromatic
#3C3FAF #5F62C8 #8D8FD8 #BBBCE8 #E8E9F7

Accessibility & contrast

On white

2.98
#8D8FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#8D8FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D8FD8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8FD8#FFFFFF#000000##000000
##8D8FD81.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7898DB
Deuteranopia (green-blind)
#7593D6
Tritanopia (blue-blind)
#799DAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d8fd8;
/* rgb */ color: rgb(141, 143, 216);
/* oklch */ color: oklch(67.8% 0.107 281.9);
Tailwind
colors: {
  custom: {
    50: '#b0afe4',
    500: '#8d8fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8d8fd8;
$custom-light: #b0afe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8fd8",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 216
  },
  "hsl": {
    "h": 238.4,
    "s": 49.02,
    "l": 70
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.10718,
    "h": 281.9
  },
  "luminance": 0.30266
}

Semantic roles & 50–950 ramp

primary
#8D8FD8
secondary
#EBEAD6
accent
#B829BC
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111015
muted
#807F84

Preview Lab

Preview with #8D8FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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