#8D7BEF#8D7BEF

#8D7BEF is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.3% C 0.168 H 288.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8D7BEF
RGBrgb(141, 123, 239)
HSLhsl(249, 78%, 71%)
HSVhsv(249, 49%, 94%)
CMYKcmyk(41%, 48.5%, 0%, 6.3%)
CIE-LABlab(58.09, 34.32, -56.34)
CIE-LCHlch(58.09, 65.97, 301.35°)
OKLaboklab(65.26% 0.0517 -0.1596)
OKLCHoklch(65.26% 0.168 288)
XYZxyz(33.6431, 26.0595, 84.9020)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BEF #DDEF7B
analogous
#7BA3EF #8D7BEF #C77BEF
triadic
#8D7BEF #EF8D7B #7BEF8D
tetradic
#8D7BEF #EF7BA3 #DDEF7B #7BEFC7
square
#8D7BEF #EF7BA3 #DDEF7B #7BEFC7
split-complementary
#8D7BEF #EFC77B #A3EF7B
monochromatic
#371AD6 #5E44E8 #8D7BEF #BCB2F6 #E7E4FC

Accessibility & contrast

On white

3.38
#8D7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8D7BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BEF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BEF#FFFFFF#000000##000000
##8D7BEF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#4C89EC
Tritanopia (blue-blind)
#7193AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d7bef;
/* rgb */ color: rgb(141, 123, 239);
/* oklch */ color: oklch(65.3% 0.168 288.0);
Tailwind
colors: {
  custom: {
    50: '#b3a1f5',
    500: '#8d7bef',
    950: '#000000',
  },
}
SCSS
$custom: #8d7bef;
$custom-light: #b3a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7bef",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 249.31,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65256,
    "c": 0.16782,
    "h": 288
  },
  "luminance": 0.26061
}

Semantic roles & 50–950 ramp

primary
#8D7BEF
secondary
#EEF2D3
accent
#DB0BBA
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #8D7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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