#8D8AF7#8D8AF7

#8D8AF7 is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.4% C 0.158 H 282.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8D8AF7
RGBrgb(141, 138, 247)
HSLhsl(242, 87%, 75%)
HSVhsv(242, 44%, 97%)
CMYKcmyk(42.9%, 44.1%, 0%, 3.1%)
CIE-LABlab(62.13, 27.85, -54.33)
CIE-LCHlch(62.13, 61.05, 297.14°)
OKLaboklab(68.44% 0.0345 -0.1537)
OKLCHoklch(68.44% 0.158 282.7)
XYZxyz(36.8566, 30.5535, 91.9331)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8AF7 #F4F78A
analogous
#8ABEF7 #8D8AF7 #C38AF7
triadic
#8D8AF7 #F78D8A #8AF78D
tetradic
#8D8AF7 #F78ABE #F4F78A #8AF7C3
square
#8D8AF7 #F78ABE #F4F78A #8AF7C3
split-complementary
#8D8AF7 #F7C38A #BEF78A
monochromatic
#1D17EF #5551F3 #8D8AF7 #C5C3FB #E3E2FD

Accessibility & contrast

On white

2.95
#8D8AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#8D8AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D8AF7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8AF7#FFFFFF#000000##000000
##8D8AF71.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#6CA0B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d8af7;
/* rgb */ color: rgb(141, 138, 247);
/* oklch */ color: oklch(68.4% 0.158 282.7);
Tailwind
colors: {
  custom: {
    50: '#b3acfa',
    500: '#8d8af7',
    950: '#000000',
  },
}
SCSS
$custom: #8d8af7;
$custom-light: #b3acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8af7",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 247
  },
  "hsl": {
    "h": 241.651,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.6844,
    "c": 0.15753,
    "h": 282.7
  },
  "luminance": 0.30555
}

Semantic roles & 50–950 ramp

primary
#8D8AF7
secondary
#F4F5D6
accent
#E402DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8D8AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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