#8D7CF7#8D7CF7

#8D7CF7 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.9% C 0.177 H 286.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8D7CF7
RGBrgb(141, 124, 247)
HSLhsl(248, 88%, 73%)
HSVhsv(248, 50%, 97%)
CMYKcmyk(42.9%, 49.8%, 0%, 3.1%)
CIE-LABlab(58.78, 35.97, -59.67)
CIE-LCHlch(58.78, 69.67, 301.08°)
OKLaboklab(65.92% 0.0512 -0.1694)
OKLCHoklch(65.92% 0.177 286.8)
XYZxyz(34.9759, 26.7921, 91.3062)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7CF7 #E6F77C
analogous
#7CA8F7 #8D7CF7 #CB7CF7
triadic
#8D7CF7 #F78D7C #7CF78D
tetradic
#8D7CF7 #F77CA8 #E6F77C #7CF7CB
square
#8D7CF7 #F77CA8 #E6F77C #7CF7CB
split-complementary
#8D7CF7 #F7CB7C #A8F77C
monochromatic
#2D0EEA #5B42F3 #8D7CF7 #BFB6FB #E6E2FD

Accessibility & contrast

On white

3.30
#8D7CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#8D7CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7CF7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7CF7#FFFFFF#000000##000000
##8D7CF71.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#6D96AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7cf7;
/* rgb */ color: rgb(141, 124, 247);
/* oklch */ color: oklch(65.9% 0.177 286.8);
Tailwind
colors: {
  custom: {
    50: '#b4a2fa',
    500: '#8d7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #8d7cf7;
$custom-light: #b4a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7cf7",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 248.293,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65918,
    "c": 0.177,
    "h": 286.8
  },
  "luminance": 0.26793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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