#8852BC#8852BC

#8852BC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.164 H 305.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8852BC
RGBrgb(136, 82, 188)
HSLhsl(271, 44%, 53%)
HSVhsv(271, 56%, 74%)
CMYKcmyk(27.7%, 56.4%, 0%, 26.3%)
CIE-LABlab(45.50, 43.06, -47.52)
CIE-LCHlch(45.50, 64.13, 312.18°)
OKLaboklab(54.83% 0.0943 -0.134)
OKLCHoklch(54.83% 0.164 305.1)
XYZxyz(22.2458, 14.8998, 49.2712)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852BC #86BC52
analogous
#5352BC #8852BC #BC52BB
triadic
#8852BC #BC8852 #52BC88
tetradic
#8852BC #BC5352 #86BC52 #52BBBC
square
#8852BC #BC5352 #86BC52 #52BBBC
split-complementary
#8852BC #BBBC52 #52BC53
monochromatic
#4A296A #693A97 #8852BC #A67ECD #C5AADE

Accessibility & contrast

On white

5.28
#8852BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8852BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8852BC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852BC#FFFFFF#000000##FFFFFF
##8852BC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABF
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#7F667F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8852bc;
/* rgb */ color: rgb(136, 82, 188);
/* oklch */ color: oklch(54.8% 0.164 305.1);
Tailwind
colors: {
  custom: {
    50: '#ae85d1',
    500: '#8852bc',
    950: '#000000',
  },
}
SCSS
$custom: #8852bc;
$custom-light: #ae85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8852bc",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 270.566,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.1638,
    "h": 305.1
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#8852BC
secondary
#B4CC9E
accent
#D45493
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8852BC

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

Preview Lab → · Contrast checker → · Palette generator →

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