#8D7BF7#8D7BF7

#8D7BF7 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.7% C 0.178 H 287.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8D7BF7
RGBrgb(141, 123, 247)
HSLhsl(249, 89%, 73%)
HSVhsv(249, 50%, 97%)
CMYKcmyk(42.9%, 50.2%, 0%, 3.1%)
CIE-LABlab(58.55, 36.54, -60.04)
CIE-LCHlch(58.55, 70.29, 301.33°)
OKLaboklab(65.74% 0.0524 -0.1705)
OKLCHoklch(65.74% 0.178 287.1)
XYZxyz(34.8512, 26.5427, 91.2646)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BF7 #E5F77B
analogous
#7BA7F7 #8D7BF7 #CB7BF7
triadic
#8D7BF7 #F78D7B #7BF78D
tetradic
#8D7BF7 #F77BA7 #E5F77B #7BF7CB
square
#8D7BF7 #F77BA7 #E5F77B #7BF7CB
split-complementary
#8D7BF7 #F7CB7B #A7F77B
monochromatic
#2E0EE9 #5B41F4 #8D7BF7 #BFB5FA #E6E2FD

Accessibility & contrast

On white

3.33
#8D7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8D7BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BF7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BF7#FFFFFF#000000##000000
##8D7BF71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#4389F4
Tritanopia (blue-blind)
#6D95AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7bf7;
/* rgb */ color: rgb(141, 123, 247);
/* oklch */ color: oklch(65.7% 0.178 287.1);
Tailwind
colors: {
  custom: {
    50: '#b4a1fa',
    500: '#8d7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #8d7bf7;
$custom-light: #b4a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7bf7",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 248.71,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65744,
    "c": 0.17839,
    "h": 287.1
  },
  "luminance": 0.26544
}

Semantic roles & 50–950 ramp

primary
#8D7BF7
secondary
#F1F5D6
accent
#E500C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #8D7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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