#8E6FE1#8E6FE1

#8E6FE1 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.4% C 0.167 H 293.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8E6FE1
RGBrgb(142, 111, 225)
HSLhsl(256, 66%, 66%)
HSVhsv(256, 51%, 88%)
CMYKcmyk(36.9%, 50.7%, 0%, 11.8%)
CIE-LABlab(54.61, 37.68, -54.07)
CIE-LCHlch(54.61, 65.91, 304.87°)
OKLaboklab(62.42% 0.0666 -0.153)
OKLCHoklch(62.42% 0.167 293.5)
XYZxyz(30.4268, 22.5552, 73.9701)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6FE1 #C2E16F
analogous
#6F89E1 #8E6FE1 #C76FE1
triadic
#8E6FE1 #E18E6F #6FE18E
tetradic
#8E6FE1 #E16F89 #C2E16F #6FE1C7
square
#8E6FE1 #E16F89 #C2E16F #6FE1C7
split-complementary
#8E6FE1 #E1C76F #89E16F
monochromatic
#4B25B1 #663CD6 #8E6FE1 #B6A2EC #DDD4F6

Accessibility & contrast

On white

3.81
#8E6FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8E6FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6FE1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6FE1#FFFFFF#000000##000000
##8E6FE11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#4881DE
Tritanopia (blue-blind)
#79869E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e6fe1;
/* rgb */ color: rgb(142, 111, 225);
/* oklch */ color: oklch(62.4% 0.167 293.5);
Tailwind
colors: {
  custom: {
    50: '#b399eb',
    500: '#8e6fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8e6fe1;
$custom-light: #b399eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6fe1",
  "rgb": {
    "r": 142,
    "g": 111,
    "b": 225
  },
  "hsl": {
    "h": 256.316,
    "s": 65.517,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62417,
    "c": 0.16688,
    "h": 293.5
  },
  "luminance": 0.22556
}

Semantic roles & 50–950 ramp

primary
#8E6FE1
secondary
#DEE9C3
accent
#CD189C
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8E6FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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