#8D7BEE#8D7BEE

#8D7BEE is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.2% C 0.167 H 288.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8D7BEE
RGBrgb(141, 123, 238)
HSLhsl(249, 77%, 71%)
HSVhsv(249, 48%, 93%)
CMYKcmyk(40.8%, 48.3%, 0%, 6.7%)
CIE-LABlab(58.04, 34.05, -55.87)
CIE-LCHlch(58.04, 65.43, 301.36°)
OKLaboklab(65.2% 0.0516 -0.1583)
OKLCHoklch(65.2% 0.167 288.1)
XYZxyz(33.4958, 26.0005, 84.1261)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BEE #DCEE7B
analogous
#7BA2EE #8D7BEE #C67BEE
triadic
#8D7BEE #EE8D7B #7BEE8D
tetradic
#8D7BEE #EE7BA2 #DCEE7B #7BEEC6
square
#8D7BEE #EE7BA2 #DCEE7B #7BEEC6
split-complementary
#8D7BEE #EEC67B #A2EE7B
monochromatic
#381BD3 #5E45E7 #8D7BEE #BCB1F5 #E8E4FC

Accessibility & contrast

On white

3.39
#8D7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8D7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BEE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BEE#FFFFFF#000000##000000
##8D7BEE1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#4D89EB
Tritanopia (blue-blind)
#7193A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d7bee;
/* rgb */ color: rgb(141, 123, 238);
/* oklch */ color: oklch(65.2% 0.167 288.1);
Tailwind
colors: {
  custom: {
    50: '#b3a1f4',
    500: '#8d7bee',
    950: '#000000',
  },
}
SCSS
$custom: #8d7bee;
$custom-light: #b3a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7bee",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 249.391,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65196,
    "c": 0.1665,
    "h": 288.1
  },
  "luminance": 0.26002
}

Semantic roles & 50–950 ramp

primary
#8D7BEE
secondary
#EDF2D3
accent
#D90CB9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8D7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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