#8E65D8#8E65D8

#8E65D8 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.2% C 0.170 H 297.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8E65D8
RGBrgb(142, 101, 216)
HSLhsl(261, 60%, 62%)
HSVhsv(261, 53%, 85%)
CMYKcmyk(34.3%, 53.2%, 0%, 15.3%)
CIE-LABlab(51.85, 41.01, -53.40)
CIE-LCHlch(51.85, 67.33, 307.52°)
OKLaboklab(60.2% 0.0786 -0.151)
OKLCHoklch(60.2% 0.17 297.5)
XYZxyz(28.2006, 20.0156, 67.3301)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E65D8 #AFD865
analogous
#6576D8 #8E65D8 #C765D8
triadic
#8E65D8 #D88E65 #65D88E
tetradic
#8E65D8 #D86576 #AFD865 #65D8C7
square
#8E65D8 #D86576 #AFD865 #65D8C7
split-complementary
#8E65D8 #D8C765 #76D865
monochromatic
#51279B #6A34CC #8E65D8 #B296E4 #D6C7F1

Accessibility & contrast

On white

4.20
#8E65D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8E65D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E65D8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E65D8#FFFFFF#000000##000000
##8E65D81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367CDC
Deuteranopia (green-blind)
#427AD5
Tritanopia (blue-blind)
#7E7C95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e65d8;
/* rgb */ color: rgb(142, 101, 216);
/* oklch */ color: oklch(60.2% 0.170 297.5);
Tailwind
colors: {
  custom: {
    50: '#b392e5',
    500: '#8e65d8',
    950: '#000000',
  },
}
SCSS
$custom: #8e65d8;
$custom-light: #b392e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e65d8",
  "rgb": {
    "r": 142,
    "g": 101,
    "b": 216
  },
  "hsl": {
    "h": 261.391,
    "s": 59.585,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60202,
    "c": 0.17029,
    "h": 297.5
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#8E65D8
secondary
#D2E2B7
accent
#C71E8B
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8E65D8

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

Preview Lab → · Contrast checker → · Palette generator →

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