#8E65CF#8E65CF

#8E65CF is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.7% C 0.159 H 299.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8E65CF
RGBrgb(142, 101, 207)
HSLhsl(263, 52%, 60%)
HSVhsv(263, 51%, 81%)
CMYKcmyk(31.4%, 51.2%, 0%, 18.8%)
CIE-LABlab(51.34, 38.71, -49.10)
CIE-LCHlch(51.34, 62.53, 308.25°)
OKLaboklab(59.65% 0.0781 -0.1385)
OKLCHoklch(59.65% 0.159 299.4)
XYZxyz(27.0688, 19.5629, 61.3693)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E65CF #A6CF65
analogous
#6571CF #8E65CF #C365CF
triadic
#8E65CF #CF8E65 #65CF8E
tetradic
#8E65CF #CF6571 #A6CF65 #65CFC3
square
#8E65CF #CF6571 #A6CF65 #65CFC3
split-complementary
#8E65CF #CFC365 #71CF65
monochromatic
#522C8D #6D3BBC #8E65CF #B094DE #D2C2EC

Accessibility & contrast

On white

4.27
#8E65CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8E65CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E65CF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E65CF#FFFFFF#000000##000000
##8E65CF1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#817990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e65cf;
/* rgb */ color: rgb(142, 101, 207);
/* oklch */ color: oklch(59.7% 0.159 299.4);
Tailwind
colors: {
  custom: {
    50: '#b292de',
    500: '#8e65cf',
    950: '#000000',
  },
}
SCSS
$custom: #8e65cf;
$custom-light: #b292de;
$custom-dark: #000000;
JSON
{
  "hex": "#8e65cf",
  "rgb": {
    "r": 142,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 263.208,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.15895,
    "h": 299.4
  },
  "luminance": 0.19563
}

Semantic roles & 50–950 ramp

primary
#8E65CF
secondary
#CCDCB4
accent
#C02684
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8E65CF

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

Preview Lab → · Contrast checker → · Palette generator →

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