#8752CD#8752CD

#8752CD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.184 H 300.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8752CD
RGBrgb(135, 82, 205)
HSLhsl(266, 55%, 56%)
HSVhsv(266, 60%, 80%)
CMYKcmyk(34.1%, 60%, 0%, 19.6%)
CIE-LABlab(46.44, 47.02, -55.85)
CIE-LCHlch(46.44, 73.01, 310.09°)
OKLaboklab(55.83% 0.0929 -0.1584)
OKLCHoklch(55.83% 0.184 300.4)
XYZxyz(24.0258, 15.5931, 59.4898)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752CD #98CD52
analogous
#525BCD #8752CD #C552CD
triadic
#8752CD #CD8752 #52CD87
tetradic
#8752CD #CD525B #98CD52 #52CDC5
square
#8752CD #CD525B #98CD52 #52CDC5
split-complementary
#8752CD #CDC552 #5BCD52
monochromatic
#4C2580 #6833AF #8752CD #A881DB #C9B1E8

Accessibility & contrast

On white

5.10
#8752CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8752CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752CD#FFFFFF#000000##FFFFFF
##8752CD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026ED1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#786C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8752cd;
/* rgb */ color: rgb(135, 82, 205);
/* oklch */ color: oklch(55.8% 0.184 300.4);
Tailwind
colors: {
  custom: {
    50: '#ae85dd',
    500: '#8752cd',
    950: '#000000',
  },
}
SCSS
$custom: #8752cd;
$custom-light: #ae85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8752cd",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 265.854,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.18369,
    "h": 300.4
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#8752CD
secondary
#C1D7A4
accent
#DE499E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752CD

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

Preview Lab → · Contrast checker → · Palette generator →

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