#8E6AFA#8E6AFA

#8E6AFA is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.2% C 0.205 H 290.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8E6AFA
RGBrgb(142, 106, 250)
HSLhsl(255, 94%, 70%)
HSVhsv(255, 58%, 98%)
CMYKcmyk(43.2%, 57.6%, 0%, 2%)
CIE-LABlab(55.03, 47.23, -67.35)
CIE-LCHlch(55.03, 82.26, 305.04°)
OKLaboklab(63.22% 0.0732 -0.192)
OKLCHoklch(63.22% 0.205 290.9)
XYZxyz(33.5599, 22.9599, 93.0874)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6AFA #D6FA6A
analogous
#6A8EFA #8E6AFA #D66AFA
triadic
#8E6AFA #FA8E6A #6AFA8E
tetradic
#8E6AFA #FA6A8E #D6FA6A #6AFAD6
square
#8E6AFA #FA6A8E #D6FA6A #6AFAD6
split-complementary
#8E6AFA #FAD66A #8EFA6A
monochromatic
#3E08E2 #612FF8 #8E6AFA #BBA5FC #E8E0FE

Accessibility & contrast

On white

3.76
#8E6AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8E6AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6AFA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6AFA#FFFFFF#000000##000000
##8E6AFA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#1181F7
Tritanopia (blue-blind)
#6F8AA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e6afa;
/* rgb */ color: rgb(142, 106, 250);
/* oklch */ color: oklch(63.2% 0.205 290.9);
Tailwind
colors: {
  custom: {
    50: '#b596fd',
    500: '#8e6afa',
    950: '#000000',
  },
}
SCSS
$custom: #8e6afa;
$custom-light: #b596fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6afa",
  "rgb": {
    "r": 142,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 255,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63215,
    "c": 0.20549,
    "h": 290.9
  },
  "luminance": 0.22961
}

Semantic roles & 50–950 ramp

primary
#8E6AFA
secondary
#EAF4CC
accent
#E600AC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8E6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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