#8E6EF3#8E6EF3

#8E6EF3 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.191 H 291.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8E6EF3
RGBrgb(142, 110, 243)
HSLhsl(254, 85%, 69%)
HSVhsv(254, 55%, 95%)
CMYKcmyk(41.6%, 54.7%, 0%, 4.7%)
CIE-LABlab(55.45, 43.09, -62.78)
CIE-LCHlch(55.45, 76.15, 304.46°)
OKLaboklab(63.39% 0.0686 -0.1786)
OKLCHoklch(63.39% 0.191 291)
XYZxyz(32.9045, 23.3727, 87.5543)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6EF3 #D3F36E
analogous
#6E91F3 #8E6EF3 #D16EF3
triadic
#8E6EF3 #F38E6E #6EF38E
tetradic
#8E6EF3 #F36E91 #D3F36E #6EF3D1
square
#8E6EF3 #F36E91 #D3F36E #6EF3D1
split-complementary
#8E6EF3 #F3D16E #91F36E
monochromatic
#4112D5 #6235EE #8E6EF3 #BAA7F8 #E6DFFC

Accessibility & contrast

On white

3.70
#8E6EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8E6EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6EF3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6EF3#FFFFFF#000000##000000
##8E6EF31.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F7
Deuteranopia (green-blind)
#3082F0
Tritanopia (blue-blind)
#728BA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e6ef3;
/* rgb */ color: rgb(142, 110, 243);
/* oklch */ color: oklch(63.4% 0.191 291.0);
Tailwind
colors: {
  custom: {
    50: '#b598f8',
    500: '#8e6ef3',
    950: '#000000',
  },
}
SCSS
$custom: #8e6ef3;
$custom-light: #b598f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6ef3",
  "rgb": {
    "r": 142,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 254.436,
    "s": 84.713,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63386,
    "c": 0.19132,
    "h": 291
  },
  "luminance": 0.23374
}

Semantic roles & 50–950 ramp

primary
#8E6EF3
secondary
#E8F2CB
accent
#E104AC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8E6EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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