#8E65EC#8E65EC

#8E65EC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.5% C 0.195 H 293.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8E65EC
RGBrgb(142, 101, 236)
HSLhsl(258, 78%, 66%)
HSVhsv(258, 57%, 93%)
CMYKcmyk(39.8%, 57.2%, 0%, 7.5%)
CIE-LABlab(53.07, 46.24, -62.71)
CIE-LCHlch(53.07, 77.92, 306.40°)
OKLaboklab(61.49% 0.079 -0.1784)
OKLCHoklch(61.49% 0.195 293.9)
XYZxyz(30.9453, 21.1135, 81.7855)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E65EC #C3EC65
analogous
#657FEC #8E65EC #D165EC
triadic
#8E65EC #EC8E65 #65EC8E
tetradic
#8E65EC #EC657F #C3EC65 #65ECD1
square
#8E65EC #EC657F #C3EC65 #65ECD1
split-complementary
#8E65EC #ECD165 #7FEC65
monochromatic
#4A18BF #662FE5 #8E65EC #B69BF3 #DED2F9

Accessibility & contrast

On white

4.02
#8E65EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8E65EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E65EC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E65EC#FFFFFF#000000##000000
##8E65EC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380F0
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#76829F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e65ec;
/* rgb */ color: rgb(142, 101, 236);
/* oklch */ color: oklch(61.5% 0.195 293.9);
Tailwind
colors: {
  custom: {
    50: '#b492f3',
    500: '#8e65ec',
    950: '#000000',
  },
}
SCSS
$custom: #8e65ec;
$custom-light: #b492f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e65ec",
  "rgb": {
    "r": 142,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 258.222,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61491,
    "c": 0.1951,
    "h": 293.9
  },
  "luminance": 0.21114
}

Semantic roles & 50–950 ramp

primary
#8E65EC
secondary
#DFEDC0
accent
#DA0B9B
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E65EC

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

Preview Lab → · Contrast checker → · Palette generator →

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