#8E65E7#8E65E7

#8E65E7 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.2% C 0.189 H 294.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8E65E7
RGBrgb(142, 101, 231)
HSLhsl(259, 73%, 65%)
HSVhsv(259, 56%, 91%)
CMYKcmyk(38.5%, 56.3%, 0%, 9.4%)
CIE-LABlab(52.76, 44.92, -60.41)
CIE-LCHlch(52.76, 75.28, 306.63°)
OKLaboklab(61.16% 0.079 -0.1716)
OKLCHoklch(61.16% 0.189 294.7)
XYZxyz(30.2290, 20.8270, 78.0132)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E65E7 #BEE765
analogous
#657DE7 #8E65E7 #CF65E7
triadic
#8E65E7 #E78E65 #65E78E
tetradic
#8E65E7 #E7657D #BEE765 #65E7CF
square
#8E65E7 #E7657D #BEE765 #65E7CF
split-complementary
#8E65E7 #E7CF65 #7DE765
monochromatic
#4D1CB5 #6730DF #8E65E7 #B59AEF #DCCFF8

Accessibility & contrast

On white

4.07
#8E65E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8E65E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E65E7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E65E7#FFFFFF#000000##000000
##8E65E71.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#207FEB
Deuteranopia (green-blind)
#307CE4
Tritanopia (blue-blind)
#78819C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e65e7;
/* rgb */ color: rgb(142, 101, 231);
/* oklch */ color: oklch(61.2% 0.189 294.7);
Tailwind
colors: {
  custom: {
    50: '#b492ef',
    500: '#8e65e7',
    950: '#000000',
  },
}
SCSS
$custom: #8e65e7;
$custom-light: #b492ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e65e7",
  "rgb": {
    "r": 142,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 258.923,
    "s": 73.034,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.18896,
    "h": 294.7
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#8E65E7
secondary
#DCEABE
accent
#D51097
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E65E7

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

Preview Lab → · Contrast checker → · Palette generator →

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