#8868EA#8868EA

#8868EA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.3% C 0.188 H 291.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8868EA
RGBrgb(136, 104, 234)
HSLhsl(255, 76%, 66%)
HSVhsv(255, 56%, 92%)
CMYKcmyk(41.9%, 55.6%, 0%, 8.2%)
CIE-LABlab(53.03, 42.70, -61.69)
CIE-LCHlch(53.03, 75.03, 304.69°)
OKLaboklab(61.29% 0.068 -0.1756)
OKLCHoklch(61.29% 0.188 291.2)
XYZxyz(29.9509, 21.0745, 80.3157)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8868EA #CAEA68
analogous
#6889EA #8868EA #C968EA
triadic
#8868EA #EA8868 #68EA88
tetradic
#8868EA #EA6889 #CAEA68 #68EAC9
square
#8868EA #EA6889 #CAEA68 #68EAC9
split-complementary
#8868EA #EAC968 #89EA68
monochromatic
#421ABD #5E32E3 #8868EA #B29EF1 #DDD3F9

Accessibility & contrast

On white

4.03
#8868EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8868EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8868EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8868EA#FFFFFF#000000##000000
##8868EA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EE
Deuteranopia (green-blind)
#297CE7
Tritanopia (blue-blind)
#6C849F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8868ea;
/* rgb */ color: rgb(136, 104, 234);
/* oklch */ color: oklch(61.3% 0.188 291.2);
Tailwind
colors: {
  custom: {
    50: '#b094f1',
    500: '#8868ea',
    950: '#000000',
  },
}
SCSS
$custom: #8868ea;
$custom-light: #b094f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8868ea",
  "rgb": {
    "r": 136,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 254.769,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61286,
    "c": 0.18825,
    "h": 291.2
  },
  "luminance": 0.21075
}

Semantic roles & 50–950 ramp

primary
#8868EA
secondary
#E2ECC2
accent
#D80EA6
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8868EA

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

Preview Lab → · Contrast checker → · Palette generator →

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