#8852CE#8852CE

#8852CE is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.185 H 300.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8852CE
RGBrgb(136, 82, 206)
HSLhsl(266, 56%, 56%)
HSVhsv(266, 60%, 81%)
CMYKcmyk(34%, 60.2%, 0%, 19.2%)
CIE-LABlab(46.61, 47.50, -56.14)
CIE-LCHlch(46.61, 73.54, 310.23°)
OKLaboklab(56.01% 0.0942 -0.1592)
OKLCHoklch(56.01% 0.185 300.6)
XYZxyz(24.3085, 15.7249, 60.1351)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852CE #98CE52
analogous
#525ACE #8852CE #C652CE
triadic
#8852CE #CE8852 #52CE88
tetradic
#8852CE #CE525A #98CE52 #52CEC6
square
#8852CE #CE525A #98CE52 #52CEC6
split-complementary
#8852CE #CEC652 #5ACE52
monochromatic
#4D2581 #6932B1 #8852CE #A982DC #CAB1E9

Accessibility & contrast

On white

5.07
#8852CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8852CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8852CE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852CE#FFFFFF#000000##FFFFFF
##8852CE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#296ECB
Tritanopia (blue-blind)
#796C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8852ce;
/* rgb */ color: rgb(136, 82, 206);
/* oklch */ color: oklch(56.0% 0.185 300.6);
Tailwind
colors: {
  custom: {
    50: '#af85de',
    500: '#8852ce',
    950: '#000000',
  },
}
SCSS
$custom: #8852ce;
$custom-light: #af85de;
$custom-dark: #000000;
JSON
{
  "hex": "#8852ce",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 266.129,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.18504,
    "h": 300.6
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#8852CE
secondary
#C1D7A4
accent
#DF499E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8852CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8852CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva