#8D7BE9#8D7BE9

#8D7BE9 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.9% C 0.160 H 288.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D7BE9
RGBrgb(141, 123, 233)
HSLhsl(250, 71%, 70%)
HSVhsv(250, 47%, 91%)
CMYKcmyk(39.5%, 47.2%, 0%, 8.6%)
CIE-LABlab(57.76, 32.67, -53.53)
CIE-LCHlch(57.76, 62.71, 301.40°)
OKLaboklab(64.9% 0.0511 -0.1514)
OKLCHoklch(64.9% 0.16 288.7)
XYZxyz(32.7714, 25.7108, 80.3110)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BE9 #D7E97B
analogous
#7BA0E9 #8D7BE9 #C47BE9
triadic
#8D7BE9 #E98D7B #7BE98D
tetradic
#8D7BE9 #E97BA0 #D7E97B #7BE9C4
square
#8D7BE9 #E97BA0 #D7E97B #7BE9C4
split-complementary
#8D7BE9 #E9C47B #A0E97B
monochromatic
#3D21C8 #6047E0 #8D7BE9 #BAAFF2 #E8E4FA

Accessibility & contrast

On white

3.42
#8D7BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#8D7BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BE9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BE9#FFFFFF#000000##000000
##8D7BE91.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518DED
Deuteranopia (green-blind)
#5188E6
Tritanopia (blue-blind)
#7491A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d7be9;
/* rgb */ color: rgb(141, 123, 233);
/* oklch */ color: oklch(64.9% 0.160 288.7);
Tailwind
colors: {
  custom: {
    50: '#b2a1f0',
    500: '#8d7be9',
    950: '#000000',
  },
}
SCSS
$custom: #8d7be9;
$custom-light: #b2a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7be9",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 249.818,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64899,
    "c": 0.15982,
    "h": 288.7
  },
  "luminance": 0.25712
}

Semantic roles & 50–950 ramp

primary
#8D7BE9
secondary
#EAEFD0
accent
#D312B4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8D7BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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