#8852DC#8852DC

#8852DC is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.201 H 297.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8852DC
RGBrgb(136, 82, 220)
HSLhsl(263, 66%, 59%)
HSVhsv(263, 63%, 86%)
CMYKcmyk(38.2%, 62.7%, 0%, 13.7%)
CIE-LABlab(47.54, 51.05, -62.64)
CIE-LCHlch(47.54, 80.81, 309.18°)
OKLaboklab(56.98% 0.0934 -0.1784)
OKLCHoklch(56.98% 0.201 297.6)
XYZxyz(26.0856, 16.4357, 69.4943)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852DC #A6DC52
analogous
#5261DC #8852DC #CD52DC
triadic
#8852DC #DC8852 #52DC88
tetradic
#8852DC #DC5261 #A6DC52 #52DCCD
square
#8852DC #DC5261 #A6DC52 #52DCCD
split-complementary
#8852DC #DCCD52 #61DC52
monochromatic
#4D1E95 #6729C8 #8852DC #AB85E6 #CEB8F1

Accessibility & contrast

On white

4.90
#8852DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8852DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8852DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852DC#FFFFFF#000000##FFFFFF
##8852DC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#747190
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8852dc;
/* rgb */ color: rgb(136, 82, 220);
/* oklch */ color: oklch(57.0% 0.201 297.6);
Tailwind
colors: {
  custom: {
    50: '#b085e8',
    500: '#8852dc',
    950: '#000000',
  },
}
SCSS
$custom: #8852dc;
$custom-light: #b085e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8852dc",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 263.478,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.20136,
    "h": 297.6
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

primary
#8852DC
secondary
#CBE0AA
accent
#E93FA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8852DC

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

Preview Lab → · Contrast checker → · Palette generator →

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