#8E6AFE#8E6AFE

#8E6AFE is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.5% C 0.210 H 290.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8E6AFE
RGBrgb(142, 106, 254)
HSLhsl(255, 99%, 71%)
HSVhsv(255, 58%, 100%)
CMYKcmyk(44.1%, 58.3%, 0%, 0.4%)
CIE-LABlab(55.29, 48.32, -69.15)
CIE-LCHlch(55.29, 84.35, 304.95°)
OKLaboklab(63.49% 0.0731 -0.1973)
OKLCHoklch(63.49% 0.21 290.3)
XYZxyz(34.1937, 23.2134, 96.4257)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6AFE #DAFE6A
analogous
#6A90FE #8E6AFE #D86AFE
triadic
#8E6AFE #FE8E6A #6AFE8E
tetradic
#8E6AFE #FE6A90 #DAFE6A #6AFED8
square
#8E6AFE #FE6A90 #DAFE6A #6AFED8
split-complementary
#8E6AFE #FED86A #90FE6A
monochromatic
#3B02EC #602DFE #8E6AFE #BCA7FE #E8E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E6AFE#FFFFFF#000000##000000
##8E6AFE1.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)
#0087FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#6C8BAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e6afe;
/* rgb */ color: rgb(142, 106, 254);
/* oklch */ color: oklch(63.5% 0.210 290.3);
Tailwind
colors: {
  custom: {
    50: '#b696ff',
    500: '#8e6afe',
    950: '#000000',
  },
}
SCSS
$custom: #8e6afe;
$custom-light: #b696ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6afe",
  "rgb": {
    "r": 142,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 254.595,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63489,
    "c": 0.2104,
    "h": 290.3
  },
  "luminance": 0.23215
}

Semantic roles & 50–950 ramp

primary
#8E6AFE
secondary
#ECF6CE
accent
#E600AE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8E6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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