#8858EB#8858EB

#8858EB is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.211 H 294.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8858EB
RGBrgb(136, 88, 235)
HSLhsl(260, 79%, 63%)
HSVhsv(260, 63%, 92%)
CMYKcmyk(42.1%, 62.6%, 0%, 7.8%)
CIE-LABlab(49.75, 51.78, -67.55)
CIE-LCHlch(49.75, 85.11, 307.47°)
OKLaboklab(58.91% 0.0857 -0.1928)
OKLCHoklch(58.91% 0.211 294)
XYZxyz(28.6344, 18.2111, 80.5876)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8858EB #BBEB58
analogous
#5871EB #8858EB #D258EB
triadic
#8858EB #EB8858 #58EB88
tetradic
#8858EB #EB5871 #BBEB58 #58EBD2
square
#8858EB #EB5871 #BBEB58 #58EBD2
split-complementary
#8858EB #EBD258 #71EB58
monochromatic
#4915B3 #6121E4 #8858EB #AF8FF2 #D6C5F8

Accessibility & contrast

On white

4.52
#8858EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8858EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8858EB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8858EB#FFFFFF#000000##000000
##8858EB1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8858eb;
/* rgb */ color: rgb(136, 88, 235);
/* oklch */ color: oklch(58.9% 0.211 294.0);
Tailwind
colors: {
  custom: {
    50: '#b189f2',
    500: '#8858eb',
    950: '#000000',
  },
}
SCSS
$custom: #8858eb;
$custom-light: #b189f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8858eb",
  "rgb": {
    "r": 136,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 259.592,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.211,
    "h": 294
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#8858EB
secondary
#D8EAB5
accent
#DB0B97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8858EB

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

Preview Lab → · Contrast checker → · Palette generator →

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