#8852CA#8852CA

#8852CA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.180 H 301.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8852CA
RGBrgb(136, 82, 202)
HSLhsl(267, 53%, 56%)
HSVhsv(267, 59%, 79%)
CMYKcmyk(32.7%, 59.4%, 0%, 20.8%)
CIE-LABlab(46.36, 46.50, -54.25)
CIE-LCHlch(46.36, 71.45, 310.60°)
OKLaboklab(55.74% 0.0943 -0.1537)
OKLCHoklch(55.74% 0.18 301.5)
XYZxyz(23.8288, 15.5330, 57.6085)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852CA #94CA52
analogous
#5258CA #8852CA #C452CA
triadic
#8852CA #CA8852 #52CA88
tetradic
#8852CA #CA5258 #94CA52 #52CAC4
square
#8852CA #CA5258 #94CA52 #52CAC4
split-complementary
#8852CA #CAC452 #58CA52
monochromatic
#4D267C #6934AB #8852CA #A881D8 #C8B0E7

Accessibility & contrast

On white

5.11
#8852CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8852CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8852CA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852CA#FFFFFF#000000##FFFFFF
##8852CA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106DCE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#7B6B86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8852ca;
/* rgb */ color: rgb(136, 82, 202);
/* oklch */ color: oklch(55.7% 0.180 301.5);
Tailwind
colors: {
  custom: {
    50: '#af85db',
    500: '#8852ca',
    950: '#000000',
  },
}
SCSS
$custom: #8852ca;
$custom-light: #af85db;
$custom-dark: #000000;
JSON
{
  "hex": "#8852ca",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 267,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55739,
    "c": 0.18034,
    "h": 301.5
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

primary
#8852CA
secondary
#BED5A3
accent
#DD4B9B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8852CA

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

Preview Lab → · Contrast checker → · Palette generator →

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