#8D7FE8#8D7FE8

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

Color values

HEX#8D7FE8
RGBrgb(141, 127, 232)
HSLhsl(248, 70%, 70%)
HSVhsv(248, 45%, 91%)
CMYKcmyk(39.2%, 45.3%, 0%, 9%)
CIE-LABlab(58.66, 30.07, -51.54)
CIE-LCHlch(58.66, 59.67, 300.26°)
OKLaboklab(65.56% 0.046 -0.1456)
OKLCHoklch(65.56% 0.153 287.5)
XYZxyz(33.1353, 26.6666, 79.7296)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FE8 #DAE87F
analogous
#7FA5E8 #8D7FE8 #C17FE8
triadic
#8D7FE8 #E88D7F #7FE88D
tetradic
#8D7FE8 #E87FA5 #DAE87F #7FE8C1
square
#8D7FE8 #E87FA5 #DAE87F #7FE8C1
split-complementary
#8D7FE8 #E8C17F #A5E87F
monochromatic
#3A24C9 #5F4BDF #8D7FE8 #BBB3F1 #E8E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7FE8#FFFFFF#000000##000000
##8D7FE81.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)
#5890EC
Deuteranopia (green-blind)
#588AE6
Tritanopia (blue-blind)
#7494A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7fe8;
/* rgb */ color: rgb(141, 127, 232);
/* oklch */ color: oklch(65.6% 0.153 287.5);
Tailwind
colors: {
  custom: {
    50: '#b2a4f0',
    500: '#8d7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fe8;
$custom-light: #b2a4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fe8",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 248,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65562,
    "c": 0.15267,
    "h": 287.5
  },
  "luminance": 0.26668
}

Semantic roles & 50–950 ramp

primary
#8D7FE8
secondary
#ECF0D3
accent
#D214B8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8D7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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