#8858EC#8858EC

#8858EC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.212 H 293.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8858EC
RGBrgb(136, 88, 236)
HSLhsl(259, 80%, 64%)
HSVhsv(259, 63%, 93%)
CMYKcmyk(42.4%, 62.7%, 0%, 7.5%)
CIE-LABlab(49.82, 52.04, -68.00)
CIE-LCHlch(49.82, 85.63, 307.43°)
OKLaboklab(58.98% 0.0857 -0.1941)
OKLCHoklch(58.98% 0.212 293.8)
XYZxyz(28.7793, 18.2690, 81.3506)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8858EC #BCEC58
analogous
#5872EC #8858EC #D258EC
triadic
#8858EC #EC8858 #58EC88
tetradic
#8858EC #EC5872 #BCEC58 #58ECD2
square
#8858EC #EC5872 #BCEC58 #58ECD2
split-complementary
#8858EC #ECD258 #72EC58
monochromatic
#4915B5 #6121E6 #8858EC #AF8FF2 #D6C6F9

Accessibility & contrast

On white

4.51
#8858EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8858EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8858EC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8858EC#FFFFFF#000000##000000
##8858EC1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#6D7A9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8858ec;
/* rgb */ color: rgb(136, 88, 236);
/* oklch */ color: oklch(59.0% 0.212 293.8);
Tailwind
colors: {
  custom: {
    50: '#b189f3',
    500: '#8858ec',
    950: '#000000',
  },
}
SCSS
$custom: #8858ec;
$custom-light: #b189f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8858ec",
  "rgb": {
    "r": 136,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 259.459,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58979,
    "c": 0.21218,
    "h": 293.8
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

primary
#8858EC
secondary
#D9EAB6
accent
#DC0A98
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8858EC

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

Preview Lab → · Contrast checker → · Palette generator →

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