#8B7FED#8B7FED

#8B7FED is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.7% C 0.160 H 286.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8B7FED
RGBrgb(139, 127, 237)
HSLhsl(247, 75%, 71%)
HSVhsv(247, 46%, 93%)
CMYKcmyk(41.4%, 46.4%, 0%, 7.1%)
CIE-LABlab(58.77, 30.96, -54.16)
CIE-LCHlch(58.77, 62.38, 299.76°)
OKLaboklab(65.69% 0.0443 -0.1533)
OKLCHoklch(65.69% 0.16 286.1)
XYZxyz(33.5186, 26.7809, 83.5075)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7FED #E1ED7F
analogous
#7FAAED #8B7FED #C27FED
triadic
#8B7FED #ED8B7F #7FED8B
tetradic
#8B7FED #ED7FAA #E1ED7F #7FEDC2
square
#8B7FED #ED7FAA #E1ED7F #7FEDC2
split-complementary
#8B7FED #EDC27F #AAED7F
monochromatic
#321ED4 #5A49E5 #8B7FED #BCB5F5 #E7E4FB

Accessibility & contrast

On white

3.30
#8B7FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#8B7FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7FED
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7FED#FFFFFF#000000##000000
##8B7FED1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#6E95AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b7fed;
/* rgb */ color: rgb(139, 127, 237);
/* oklch */ color: oklch(65.7% 0.160 286.1);
Tailwind
colors: {
  custom: {
    50: '#b1a4f3',
    500: '#8b7fed',
    950: '#000000',
  },
}
SCSS
$custom: #8b7fed;
$custom-light: #b1a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7fed",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 246.545,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65689,
    "c": 0.15957,
    "h": 286.1
  },
  "luminance": 0.26782
}

Semantic roles & 50–950 ramp

primary
#8B7FED
secondary
#EFF2D6
accent
#D80EC2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8B7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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