#8C65EC#8C65EC

#8C65EC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.3% C 0.195 H 293.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8C65EC
RGBrgb(140, 101, 236)
HSLhsl(257, 78%, 66%)
HSVhsv(257, 57%, 93%)
CMYKcmyk(40.7%, 57.2%, 0%, 7.5%)
CIE-LABlab(52.88, 45.80, -63.03)
CIE-LCHlch(52.88, 77.91, 306.00°)
OKLaboklab(61.31% 0.0765 -0.1794)
OKLCHoklch(61.31% 0.195 293.1)
XYZxyz(30.6051, 20.9381, 81.7696)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C65EC #C5EC65
analogous
#6581EC #8C65EC #CF65EC
triadic
#8C65EC #EC8C65 #65EC8C
tetradic
#8C65EC #EC6581 #C5EC65 #65ECCF
square
#8C65EC #EC6581 #C5EC65 #65ECCF
split-complementary
#8C65EC #ECCF65 #81EC65
monochromatic
#4818BF #632FE5 #8C65EC #B59BF3 #DDD2F9

Accessibility & contrast

On white

4.05
#8C65EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8C65EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C65EC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C65EC#FFFFFF#000000##000000
##8C65EC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1080F0
Deuteranopia (green-blind)
#237CE9
Tritanopia (blue-blind)
#72829F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8c65ec;
/* rgb */ color: rgb(140, 101, 236);
/* oklch */ color: oklch(61.3% 0.195 293.1);
Tailwind
colors: {
  custom: {
    50: '#b392f3',
    500: '#8c65ec',
    950: '#000000',
  },
}
SCSS
$custom: #8c65ec;
$custom-light: #b392f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c65ec",
  "rgb": {
    "r": 140,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 257.333,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61305,
    "c": 0.195,
    "h": 293.1
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

primary
#8C65EC
secondary
#E0EDC0
accent
#DA0B9E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8C65EC

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

Preview Lab → · Contrast checker → · Palette generator →

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