#8E7FF7#8E7FF7

#8E7FF7 is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.5% C 0.173 H 286.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8E7FF7
RGBrgb(142, 127, 247)
HSLhsl(248, 88%, 73%)
HSVhsv(248, 49%, 97%)
CMYKcmyk(42.5%, 48.6%, 0%, 3.1%)
CIE-LABlab(59.57, 34.46, -58.41)
CIE-LCHlch(59.57, 67.82, 300.54°)
OKLaboklab(66.53% 0.0489 -0.1657)
OKLCHoklch(66.53% 0.173 286.4)
XYZxyz(35.5284, 27.6436, 91.4414)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7FF7 #E8F77F
analogous
#7FACF7 #8E7FF7 #CA7FF7
triadic
#8E7FF7 #F78E7F #7FF78E
tetradic
#8E7FF7 #F77FAC #E8F77F #7FF7CA
square
#8E7FF7 #F77FAC #E8F77F #7FF7CA
split-complementary
#8E7FF7 #F7CA7F #ACF77F
monochromatic
#2B0FED #5B45F3 #8E7FF7 #C1B9FB #E6E2FD

Accessibility & contrast

On white

3.22
#8E7FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8E7FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7FF7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7FF7#FFFFFF#000000##000000
##8E7FF71.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#4B8CF4
Tritanopia (blue-blind)
#6E98AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e7ff7;
/* rgb */ color: rgb(142, 127, 247);
/* oklch */ color: oklch(66.5% 0.173 286.4);
Tailwind
colors: {
  custom: {
    50: '#b4a4fa',
    500: '#8e7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #8e7ff7;
$custom-light: #b4a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7ff7",
  "rgb": {
    "r": 142,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 247.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66525,
    "c": 0.17274,
    "h": 286.4
  },
  "luminance": 0.27645
}

Semantic roles & 50–950 ramp

primary
#8E7FF7
secondary
#F1F5D6
accent
#E501C8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #8E7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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