#8C65EB#8C65EB

#8C65EB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.194 H 293.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8C65EB
RGBrgb(140, 101, 235)
HSLhsl(257, 77%, 66%)
HSVhsv(257, 57%, 92%)
CMYKcmyk(40.4%, 57%, 0%, 7.8%)
CIE-LABlab(52.82, 45.53, -62.57)
CIE-LCHlch(52.82, 77.39, 306.04°)
OKLaboklab(61.24% 0.0765 -0.178)
OKLCHoklch(61.24% 0.194 293.2)
XYZxyz(30.4603, 20.8802, 81.0066)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C65EB #C4EB65
analogous
#6581EB #8C65EB #CF65EB
triadic
#8C65EB #EB8C65 #65EB8C
tetradic
#8C65EB #EB6581 #C4EB65 #65EBCF
square
#8C65EB #EB6581 #C4EB65 #65EBCF
split-complementary
#8C65EB #EBCF65 #81EB65
monochromatic
#4819BD #642FE4 #8C65EB #B49BF2 #DDD1F9

Accessibility & contrast

On white

4.06
#8C65EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8C65EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C65EB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C65EB#FFFFFF#000000##000000
##8C65EB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380EF
Deuteranopia (green-blind)
#267CE8
Tritanopia (blue-blind)
#73829E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8c65eb;
/* rgb */ color: rgb(140, 101, 235);
/* oklch */ color: oklch(61.2% 0.194 293.2);
Tailwind
colors: {
  custom: {
    50: '#b392f2',
    500: '#8c65eb',
    950: '#000000',
  },
}
SCSS
$custom: #8c65eb;
$custom-light: #b392f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c65eb",
  "rgb": {
    "r": 140,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 257.463,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61238,
    "c": 0.19377,
    "h": 293.2
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#8C65EB
secondary
#DFECC0
accent
#D90C9E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8C65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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