#8D7BF8#8D7BF8

#8D7BF8 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.8% C 0.180 H 287.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D7BF8
RGBrgb(141, 123, 248)
HSLhsl(249, 90%, 73%)
HSVhsv(249, 50%, 97%)
CMYKcmyk(43.1%, 50.4%, 0%, 2.7%)
CIE-LABlab(58.61, 36.82, -60.50)
CIE-LCHlch(58.61, 70.82, 301.33°)
OKLaboklab(65.81% 0.0525 -0.1719)
OKLCHoklch(65.81% 0.18 287)
XYZxyz(35.0059, 26.6046, 92.0795)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BF8 #E6F87B
analogous
#7BA7F8 #8D7BF8 #CB7BF8
triadic
#8D7BF8 #F88D7B #7BF88D
tetradic
#8D7BF8 #F87BA7 #E6F87B #7BF8CB
square
#8D7BF8 #F87BA7 #E6F87B #7BF8CB
split-complementary
#8D7BF8 #F8CB7B #A7F87B
monochromatic
#2D0DEC #5B41F5 #8D7BF8 #BFB5FB #E6E2FD

Accessibility & contrast

On white

3.32
#8D7BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8D7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BF8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BF8#FFFFFF#000000##000000
##8D7BF81.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#428AF5
Tritanopia (blue-blind)
#6C95AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7bf8;
/* rgb */ color: rgb(141, 123, 248);
/* oklch */ color: oklch(65.8% 0.180 287.0);
Tailwind
colors: {
  custom: {
    50: '#b4a1fb',
    500: '#8d7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #8d7bf8;
$custom-light: #b4a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7bf8",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 248.64,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65805,
    "c": 0.17971,
    "h": 287
  },
  "luminance": 0.26606
}

Semantic roles & 50–950 ramp

primary
#8D7BF8
secondary
#F1F6D5
accent
#E600C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F17
muted
#817E85

Preview Lab

Preview with #8D7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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