#8E65CC#8E65CC

#8E65CC is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.5% C 0.155 H 300.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8E65CC
RGBrgb(142, 101, 204)
HSLhsl(264, 50%, 60%)
HSVhsv(264, 50%, 80%)
CMYKcmyk(30.4%, 50.5%, 0%, 20%)
CIE-LABlab(51.17, 37.95, -47.66)
CIE-LCHlch(51.17, 60.92, 308.53°)
OKLaboklab(59.47% 0.0778 -0.1342)
OKLCHoklch(59.47% 0.155 300.1)
XYZxyz(26.7055, 19.4176, 59.4561)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E65CC #A3CC65
analogous
#6570CC #8E65CC #C165CC
triadic
#8E65CC #CC8E65 #65CC8E
tetradic
#8E65CC #CC6570 #A3CC65 #65CCC1
square
#8E65CC #CC6570 #A3CC65 #65CCC1
split-complementary
#8E65CC #CCC165 #70CC65
monochromatic
#522D89 #6D3DB7 #8E65CC #B093DB #D1C1EA

Accessibility & contrast

On white

4.30
#8E65CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8E65CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E65CC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E65CC#FFFFFF#000000##000000
##8E65CC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD0
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#82788F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e65cc;
/* rgb */ color: rgb(142, 101, 204);
/* oklch */ color: oklch(59.5% 0.155 300.1);
Tailwind
colors: {
  custom: {
    50: '#b292dc',
    500: '#8e65cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e65cc;
$custom-light: #b292dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e65cc",
  "rgb": {
    "r": 142,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 263.883,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59474,
    "c": 0.15515,
    "h": 300.1
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#8E65CC
secondary
#CADAB2
accent
#DA4EA2
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8E65CC

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

Preview Lab → · Contrast checker → · Palette generator →

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