#8852CD#8852CD

#8852CD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.184 H 300.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8852CD
RGBrgb(136, 82, 205)
HSLhsl(266, 55%, 56%)
HSVhsv(266, 60%, 80%)
CMYKcmyk(33.7%, 60%, 0%, 19.6%)
CIE-LABlab(46.55, 47.25, -55.67)
CIE-LCHlch(46.55, 73.02, 310.32°)
OKLaboklab(55.94% 0.0943 -0.1579)
OKLCHoklch(55.94% 0.184 300.8)
XYZxyz(24.1875, 15.6765, 59.4973)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852CD #97CD52
analogous
#525ACD #8852CD #C552CD
triadic
#8852CD #CD8852 #52CD88
tetradic
#8852CD #CD525A #97CD52 #52CDC5
square
#8852CD #CD525A #97CD52 #52CDC5
split-complementary
#8852CD #CDC552 #5ACD52
monochromatic
#4D2580 #6933AF #8852CD #A981DB #C9B1E8

Accessibility & contrast

On white

5.08
#8852CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8852CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852CD#FFFFFF#000000##FFFFFF
##8852CD1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046ED1
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#7A6C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8852cd;
/* rgb */ color: rgb(136, 82, 205);
/* oklch */ color: oklch(55.9% 0.184 300.8);
Tailwind
colors: {
  custom: {
    50: '#af85dd',
    500: '#8852cd',
    950: '#000000',
  },
}
SCSS
$custom: #8852cd;
$custom-light: #af85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8852cd",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 266.341,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.18386,
    "h": 300.8
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#8852CD
secondary
#C0D7A4
accent
#DE499D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8852CD

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

Preview Lab → · Contrast checker → · Palette generator →

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