#8868EC#8868EC

#8868EC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.191 H 290.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8868EC
RGBrgb(136, 104, 236)
HSLhsl(255, 78%, 67%)
HSVhsv(255, 56%, 93%)
CMYKcmyk(42.4%, 55.9%, 0%, 7.5%)
CIE-LABlab(53.16, 43.25, -62.61)
CIE-LCHlch(53.16, 76.09, 304.64°)
OKLaboklab(61.42% 0.068 -0.1783)
OKLCHoklch(61.42% 0.191 290.9)
XYZxyz(30.2398, 21.1900, 81.8374)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8868EC #CCEC68
analogous
#688AEC #8868EC #CA68EC
triadic
#8868EC #EC8868 #68EC88
tetradic
#8868EC #EC688A #CCEC68 #68ECCA
square
#8868EC #EC688A #CCEC68 #68ECCA
split-complementary
#8868EC #ECCA68 #8AEC68
monochromatic
#4118C1 #5D32E5 #8868EC #B39EF3 #DED5FA

Accessibility & contrast

On white

4.01
#8868EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8868EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8868EC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8868EC#FFFFFF#000000##000000
##8868EC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81F0
Deuteranopia (green-blind)
#257CE9
Tritanopia (blue-blind)
#6C85A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8868ec;
/* rgb */ color: rgb(136, 104, 236);
/* oklch */ color: oklch(61.4% 0.191 290.9);
Tailwind
colors: {
  custom: {
    50: '#b094f3',
    500: '#8868ec',
    950: '#000000',
  },
}
SCSS
$custom: #8868ec;
$custom-light: #b094f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8868ec",
  "rgb": {
    "r": 136,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 254.545,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.19078,
    "h": 290.9
  },
  "luminance": 0.21191
}

Semantic roles & 50–950 ramp

primary
#8868EC
secondary
#E3EDC3
accent
#DA0CA8
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8868EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8868EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva