#8D7BF9#8D7BF9

#8D7BF9 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.9% C 0.181 H 286.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8D7BF9
RGBrgb(141, 123, 249)
HSLhsl(249, 91%, 73%)
HSVhsv(249, 51%, 98%)
CMYKcmyk(43.4%, 50.6%, 0%, 2.4%)
CIE-LABlab(58.66, 37.10, -60.96)
CIE-LCHlch(58.66, 71.36, 301.33°)
OKLaboklab(65.87% 0.0526 -0.1732)
OKLCHoklch(65.87% 0.181 286.9)
XYZxyz(35.1615, 26.6668, 92.8987)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BF9 #E7F97B
analogous
#7BA8F9 #8D7BF9 #CC7BF9
triadic
#8D7BF9 #F98D7B #7BF98D
tetradic
#8D7BF9 #F97BA8 #E7F97B #7BF9CC
square
#8D7BF9 #F97BA8 #E7F97B #7BF9CC
split-complementary
#8D7BF9 #F9CC7B #A8F97B
monochromatic
#2B0BEF #5A40F6 #8D7BF9 #C0B6FC #E6E2FE

Accessibility & contrast

On white

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

On black

6.33
#8D7BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BF9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BF9#FFFFFF#000000##000000
##8D7BF91.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FD
Deuteranopia (green-blind)
#418AF6
Tritanopia (blue-blind)
#6C96AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7bf9;
/* rgb */ color: rgb(141, 123, 249);
/* oklch */ color: oklch(65.9% 0.181 286.9);
Tailwind
colors: {
  custom: {
    50: '#b4a1fc',
    500: '#8d7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #8d7bf9;
$custom-light: #b4a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7bf9",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 248.571,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65868,
    "c": 0.18102,
    "h": 286.9
  },
  "luminance": 0.26668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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