#8858BF#8858BF

#8858BF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.158 H 303.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8858BF
RGBrgb(136, 88, 191)
HSLhsl(268, 45%, 55%)
HSVhsv(268, 54%, 75%)
CMYKcmyk(28.8%, 53.9%, 0%, 25.1%)
CIE-LABlab(46.94, 40.48, -46.95)
CIE-LCHlch(46.94, 61.99, 310.76°)
OKLaboklab(55.96% 0.0865 -0.1323)
OKLCHoklch(55.96% 0.158 303.2)
XYZxyz(23.0449, 15.9753, 51.1496)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8858BF #8FBF58
analogous
#585CBF #8858BF #BC58BF
triadic
#8858BF #BF8858 #58BF88
tetradic
#8858BF #BF585C #8FBF58 #58BFBC
square
#8858BF #BF585C #8FBF58 #58BFBC
split-complementary
#8858BF #BFBC58 #5CBF58
monochromatic
#4C2B71 #6A3C9D #8858BF #A884D0 #C7B0E1

Accessibility & contrast

On white

5.01
#8858BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8858BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8858BF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8858BF#FFFFFF#000000##FFFFFF
##8858BF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#436FBD
Tritanopia (blue-blind)
#7E6B83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8858bf;
/* rgb */ color: rgb(136, 88, 191);
/* oklch */ color: oklch(56.0% 0.158 303.2);
Tailwind
colors: {
  custom: {
    50: '#ae89d3',
    500: '#8858bf',
    950: '#000000',
  },
}
SCSS
$custom: #8858bf;
$custom-light: #ae89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8858bf",
  "rgb": {
    "r": 136,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 267.961,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.15808,
    "h": 303.2
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#8858BF
secondary
#BBCFA4
accent
#D45498
background
#FAF8FD
surface
#F5F0FA
border
#CFCBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8858BF

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

Preview Lab → · Contrast checker → · Palette generator →

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