#8E6CF7#8E6CF7

#8E6CF7 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.3% C 0.199 H 290.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8E6CF7
RGBrgb(142, 108, 247)
HSLhsl(255, 90%, 70%)
HSVhsv(255, 56%, 97%)
CMYKcmyk(42.5%, 56.3%, 0%, 3.1%)
CIE-LABlab(55.27, 45.30, -65.31)
CIE-LCHlch(55.27, 79.48, 304.75°)
OKLaboklab(63.33% 0.071 -0.186)
OKLCHoklch(63.33% 0.199 290.9)
XYZxyz(33.3017, 23.1902, 90.6992)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6CF7 #D5F76C
analogous
#6C90F7 #8E6CF7 #D36CF7
triadic
#8E6CF7 #F78E6C #6CF78E
tetradic
#8E6CF7 #F76C90 #D5F76C #6CF7D3
square
#8E6CF7 #F76C90 #D5F76C #6CF7D3
split-complementary
#8E6CF7 #F7D36C #90F76C
monochromatic
#3F0CDD #6132F4 #8E6CF7 #BBA6FA #E7E0FD

Accessibility & contrast

On white

3.72
#8E6CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8E6CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6CF7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6CF7#FFFFFF#000000##000000
##8E6CF71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1787FC
Deuteranopia (green-blind)
#2281F4
Tritanopia (blue-blind)
#708AA7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e6cf7;
/* rgb */ color: rgb(142, 108, 247);
/* oklch */ color: oklch(63.3% 0.199 290.9);
Tailwind
colors: {
  custom: {
    50: '#b597fb',
    500: '#8e6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #8e6cf7;
$custom-light: #b597fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6cf7",
  "rgb": {
    "r": 142,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 254.676,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63328,
    "c": 0.19909,
    "h": 290.9
  },
  "luminance": 0.23191
}

Semantic roles & 50–950 ramp

primary
#8E6CF7
secondary
#EAF3CC
accent
#E600AD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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