#8D7BEC#8D7BEC

#8D7BEC is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.164 H 288.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8D7BEC
RGBrgb(141, 123, 236)
HSLhsl(250, 75%, 70%)
HSVhsv(250, 48%, 93%)
CMYKcmyk(40.3%, 47.9%, 0%, 7.5%)
CIE-LABlab(57.93, 33.49, -54.94)
CIE-LCHlch(57.93, 64.34, 301.37°)
OKLaboklab(65.08% 0.0514 -0.1555)
OKLCHoklch(65.08% 0.164 288.3)
XYZxyz(33.2036, 25.8837, 82.5872)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BEC #DAEC7B
analogous
#7BA1EC #8D7BEC #C67BEC
triadic
#8D7BEC #EC8D7B #7BEC8D
tetradic
#8D7BEC #EC7BA1 #DAEC7B #7BECC6
square
#8D7BEC #EC7BA1 #DAEC7B #7BECC6
split-complementary
#8D7BEC #ECC67B #A1EC7B
monochromatic
#3A1ECF #5F46E4 #8D7BEC #BBB0F4 #E8E4FB

Accessibility & contrast

On white

3.40
#8D7BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#8D7BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BEC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BEC#FFFFFF#000000##000000
##8D7BEC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#7292A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d7bec;
/* rgb */ color: rgb(141, 123, 236);
/* oklch */ color: oklch(65.1% 0.164 288.3);
Tailwind
colors: {
  custom: {
    50: '#b3a1f3',
    500: '#8d7bec',
    950: '#000000',
  },
}
SCSS
$custom: #8d7bec;
$custom-light: #b3a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7bec",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 249.558,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65076,
    "c": 0.16383,
    "h": 288.3
  },
  "luminance": 0.25885
}

Semantic roles & 50–950 ramp

primary
#8D7BEC
secondary
#ECF1D2
accent
#D70FB7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8D7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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