#8C65EA#8C65EA

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

Color values

HEX#8C65EA
RGBrgb(140, 101, 234)
HSLhsl(258, 76%, 66%)
HSVhsv(258, 57%, 92%)
CMYKcmyk(40.2%, 56.8%, 0%, 8.2%)
CIE-LABlab(52.75, 45.27, -62.11)
CIE-LCHlch(52.75, 76.86, 306.08°)
OKLaboklab(61.17% 0.0765 -0.1767)
OKLCHoklch(61.17% 0.193 293.4)
XYZxyz(30.3162, 20.8226, 80.2478)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C65EA #C3EA65
analogous
#6580EA #8C65EA #CE65EA
triadic
#8C65EA #EA8C65 #65EA8C
tetradic
#8C65EA #EA6580 #C3EA65 #65EACE
square
#8C65EA #EA6580 #C3EA65 #65EACE
split-complementary
#8C65EA #EACE65 #80EA65
monochromatic
#491ABB #642FE3 #8C65EA #B49BF1 #DCD1F9

Accessibility & contrast

On white

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

On black

5.16
#8C65EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C65EA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C65EA#FFFFFF#000000##000000
##8C65EA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#177FEE
Deuteranopia (green-blind)
#287CE7
Tritanopia (blue-blind)
#73829E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8c65ea;
/* rgb */ color: rgb(140, 101, 234);
/* oklch */ color: oklch(61.2% 0.193 293.4);
Tailwind
colors: {
  custom: {
    50: '#b392f1',
    500: '#8c65ea',
    950: '#000000',
  },
}
SCSS
$custom: #8c65ea;
$custom-light: #b392f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c65ea",
  "rgb": {
    "r": 140,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 257.594,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61171,
    "c": 0.19254,
    "h": 293.4
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#8C65EA
secondary
#DFECBF
accent
#D80D9D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8C65EA

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

Preview Lab → · Contrast checker → · Palette generator →

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