#8D7DF7#8D7DF7

#8D7DF7 is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.1% C 0.176 H 286.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8D7DF7
RGBrgb(141, 125, 247)
HSLhsl(248, 88%, 73%)
HSVhsv(248, 49%, 97%)
CMYKcmyk(42.9%, 49.4%, 0%, 3.1%)
CIE-LABlab(59.02, 35.39, -59.29)
CIE-LCHlch(59.02, 69.05, 300.83°)
OKLaboklab(66.09% 0.0501 -0.1683)
OKLCHoklch(66.09% 0.176 286.6)
XYZxyz(35.1018, 27.0440, 91.3482)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7DF7 #E7F77D
analogous
#7DAAF7 #8D7DF7 #CA7DF7
triadic
#8D7DF7 #F78D7D #7DF78D
tetradic
#8D7DF7 #F77DAA #E7F77D #7DF7CA
square
#8D7DF7 #F77DAA #E7F77D #7DF7CA
split-complementary
#8D7DF7 #F7CA7D #AAF77D
monochromatic
#2B0EEB #5A43F3 #8D7DF7 #C0B7FB #E6E2FD

Accessibility & contrast

On white

3.28
#8D7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8D7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7DF7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7DF7#FFFFFF#000000##000000
##8D7DF71.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#478BF4
Tritanopia (blue-blind)
#6D97AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d7df7;
/* rgb */ color: rgb(141, 125, 247);
/* oklch */ color: oklch(66.1% 0.176 286.6);
Tailwind
colors: {
  custom: {
    50: '#b4a3fa',
    500: '#8d7df7',
    950: '#000000',
  },
}
SCSS
$custom: #8d7df7;
$custom-light: #b4a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7df7",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 247.869,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66093,
    "c": 0.1756,
    "h": 286.6
  },
  "luminance": 0.27045
}

Semantic roles & 50–950 ramp

primary
#8D7DF7
secondary
#F1F5D6
accent
#E500C7
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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