#8D7FE7#8D7FE7

#8D7FE7 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.5% C 0.151 H 287.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D7FE7
RGBrgb(141, 127, 231)
HSLhsl(248, 68%, 70%)
HSVhsv(248, 45%, 91%)
CMYKcmyk(39%, 45%, 0%, 9.4%)
CIE-LABlab(58.61, 29.80, -51.06)
CIE-LCHlch(58.61, 59.12, 300.27°)
OKLaboklab(65.51% 0.0459 -0.1442)
OKLCHoklch(65.51% 0.151 287.6)
XYZxyz(32.9937, 26.6099, 78.9837)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7FE7 #D9E77F
analogous
#7FA5E7 #8D7FE7 #C17FE7
triadic
#8D7FE7 #E78D7F #7FE78D
tetradic
#8D7FE7 #E77FA5 #D9E77F #7FE7C1
square
#8D7FE7 #E77FA5 #D9E77F #7FE7C1
split-complementary
#8D7FE7 #E7C17F #A5E77F
monochromatic
#3B25C6 #5F4BDD #8D7FE7 #BBB3F1 #E8E5FA

Accessibility & contrast

On white

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

On black

6.32
#8D7FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7FE7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7FE7#FFFFFF#000000##000000
##8D7FE71.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#588AE5
Tritanopia (blue-blind)
#7494A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d7fe7;
/* rgb */ color: rgb(141, 127, 231);
/* oklch */ color: oklch(65.5% 0.151 287.6);
Tailwind
colors: {
  custom: {
    50: '#b2a4ef',
    500: '#8d7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #8d7fe7;
$custom-light: #b2a4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7fe7",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 248.077,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65505,
    "c": 0.1513,
    "h": 287.6
  },
  "luminance": 0.26611
}

Semantic roles & 50–950 ramp

primary
#8D7FE7
secondary
#EBEFD2
accent
#D015B7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8D7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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