#8752CC#8752CC

#8752CC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.183 H 300.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8752CC
RGBrgb(135, 82, 204)
HSLhsl(266, 54%, 56%)
HSVhsv(266, 60%, 80%)
CMYKcmyk(33.8%, 59.8%, 0%, 20%)
CIE-LABlab(46.37, 46.77, -55.38)
CIE-LCHlch(46.37, 72.49, 310.18°)
OKLaboklab(55.77% 0.093 -0.1571)
OKLCHoklch(55.77% 0.183 300.6)
XYZxyz(23.9054, 15.5450, 58.8561)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752CC #97CC52
analogous
#525ACC #8752CC #C452CC
triadic
#8752CC #CC8752 #52CC87
tetradic
#8752CC #CC525A #97CC52 #52CCC4
square
#8752CC #CC525A #97CC52 #52CCC4
split-complementary
#8752CC #CCC452 #5ACC52
monochromatic
#4C257E #6833AE #8752CC #A881DA #C9B1E8

Accessibility & contrast

On white

5.11
#8752CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8752CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752CC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752CC#FFFFFF#000000##FFFFFF
##8752CC1.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)
#076DD0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#796C87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8752cc;
/* rgb */ color: rgb(135, 82, 204);
/* oklch */ color: oklch(55.8% 0.183 300.6);
Tailwind
colors: {
  custom: {
    50: '#ae85dc',
    500: '#8752cc',
    950: '#000000',
  },
}
SCSS
$custom: #8752cc;
$custom-light: #ae85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8752cc",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 266.066,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.18251,
    "h": 300.6
  },
  "luminance": 0.15545
}

Semantic roles & 50–950 ramp

primary
#8752CC
secondary
#C0D6A4
accent
#DE4A9E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8752CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva