#8E7CFC#8E7CFC

#8E7CFC is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.3% C 0.183 H 286.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8E7CFC
RGBrgb(142, 124, 252)
HSLhsl(248, 96%, 74%)
HSVhsv(248, 51%, 99%)
CMYKcmyk(43.7%, 50.8%, 0%, 1.2%)
CIE-LABlab(59.15, 37.59, -61.83)
CIE-LCHlch(59.15, 72.36, 301.30°)
OKLaboklab(66.31% 0.0528 -0.1757)
OKLCHoklch(66.31% 0.183 286.7)
XYZxyz(35.9286, 27.1929, 95.4323)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7CFC #EAFC7C
analogous
#7CAAFC #8E7CFC #CE7CFC
triadic
#8E7CFC #FC8E7C #7CFC8E
tetradic
#8E7CFC #FC7CAA #EAFC7C #7CFCCE
square
#8E7CFC #FC7CAA #EAFC7C #7CFCCE
split-complementary
#8E7CFC #FCCE7C #AAFC7C
monochromatic
#2806F8 #5A40FB #8E7CFC #C2B8FD #E5E1FE

Accessibility & contrast

On white

3.26
#8E7CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8E7CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7CFC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7CFC#FFFFFF#000000##000000
##8E7CFC1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#408BF9
Tritanopia (blue-blind)
#6C97B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8e7cfc;
/* rgb */ color: rgb(142, 124, 252);
/* oklch */ color: oklch(66.3% 0.183 286.7);
Tailwind
colors: {
  custom: {
    50: '#b5a2fe',
    500: '#8e7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #8e7cfc;
$custom-light: #b5a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7cfc",
  "rgb": {
    "r": 142,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 248.438,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.18349,
    "h": 286.7
  },
  "luminance": 0.27194
}

Semantic roles & 50–950 ramp

primary
#8E7CFC
secondary
#F2F7D4
accent
#E600C5
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8E7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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