#8852CF#8852CF

#8852CF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.1% C 0.186 H 300.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8852CF
RGBrgb(136, 82, 207)
HSLhsl(266, 57%, 57%)
HSVhsv(266, 60%, 81%)
CMYKcmyk(34.3%, 60.4%, 0%, 18.8%)
CIE-LABlab(46.68, 47.75, -56.61)
CIE-LCHlch(46.68, 74.06, 310.15°)
OKLaboklab(56.08% 0.0942 -0.1606)
OKLCHoklch(56.08% 0.186 300.4)
XYZxyz(24.4304, 15.7737, 60.7769)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852CF #99CF52
analogous
#525BCF #8852CF #C752CF
triadic
#8852CF #CF8852 #52CF88
tetradic
#8852CF #CF525B #99CF52 #52CFC7
square
#8852CF #CF525B #99CF52 #52CFC7
split-complementary
#8852CF #CFC752 #5BCF52
monochromatic
#4D2482 #6931B2 #8852CF #A982DC #CAB2EA

Accessibility & contrast

On white

5.05
#8852CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8852CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8852CF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852CF#FFFFFF#000000##FFFFFF
##8852CF1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#286ECC
Tritanopia (blue-blind)
#796C89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8852cf;
/* rgb */ color: rgb(136, 82, 207);
/* oklch */ color: oklch(56.1% 0.186 300.4);
Tailwind
colors: {
  custom: {
    50: '#af85de',
    500: '#8852cf',
    950: '#000000',
  },
}
SCSS
$custom: #8852cf;
$custom-light: #af85de;
$custom-dark: #000000;
JSON
{
  "hex": "#8852cf",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 265.92,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.18621,
    "h": 300.4
  },
  "luminance": 0.15774
}

Semantic roles & 50–950 ramp

primary
#8852CF
secondary
#C2D8A5
accent
#E0489E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8852CF

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

Preview Lab → · Contrast checker → · Palette generator →

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