#8D8DEF#8D8DEF

#8D8DEF is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.6% C 0.142 H 282.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8D8DEF
RGBrgb(141, 141, 239)
HSLhsl(240, 75%, 75%)
HSVhsv(240, 41%, 94%)
CMYKcmyk(41%, 41%, 0%, 6.3%)
CIE-LABlab(62.46, 23.86, -49.40)
CIE-LCHlch(62.46, 54.86, 295.78°)
OKLaboklab(68.56% 0.0296 -0.1393)
OKLCHoklch(68.56% 0.142 282)
XYZxyz(36.0848, 30.9430, 85.7159)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8DEF #EFEF8D
analogous
#8DBEEF #8D8DEF #BE8DEF
triadic
#8D8DEF #EF8D8D #8DEF8D
tetradic
#8D8DEF #EF8DBE #EFEF8D #8DEFBE
square
#8D8DEF #EF8DBE #EFEF8D #8DEFBE
split-complementary
#8D8DEF #EFBE8D #BEEF8D
monochromatic
#2222E0 #5757E7 #8D8DEF #C3C3F7 #E4E4FB

Accessibility & contrast

On white

2.92
#8D8DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#8D8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D8DEF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8DEF#FFFFFF#000000##000000
##8D8DEF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#6594ED
Tritanopia (blue-blind)
#6FA1B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8d8def;
/* rgb */ color: rgb(141, 141, 239);
/* oklch */ color: oklch(68.6% 0.142 282.0);
Tailwind
colors: {
  custom: {
    50: '#b2aef5',
    500: '#8d8def',
    950: '#000000',
  },
}
SCSS
$custom: #8d8def;
$custom-light: #b2aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8def",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68558,
    "c": 0.14238,
    "h": 282
  },
  "luminance": 0.30944
}

Semantic roles & 50–950 ramp

primary
#8D8DEF
secondary
#F3F3D8
accent
#D80ED8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8D8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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