#8752C8#8752C8

#8752C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.178 H 301.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8752C8
RGBrgb(135, 82, 200)
HSLhsl(267, 52%, 55%)
HSVhsv(267, 59%, 78%)
CMYKcmyk(32.5%, 59%, 0%, 21.6%)
CIE-LABlab(46.12, 45.77, -53.49)
CIE-LCHlch(46.12, 70.40, 310.55°)
OKLaboklab(55.5% 0.093 -0.1515)
OKLCHoklch(55.5% 0.178 301.6)
XYZxyz(23.4318, 15.3555, 56.3618)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752C8 #93C852
analogous
#5258C8 #8752C8 #C252C8
triadic
#8752C8 #C88752 #52C887
tetradic
#8752C8 #C85258 #93C852 #52C8C2
square
#8752C8 #C85258 #93C852 #52C8C2
split-complementary
#8752C8 #C8C252 #58C852
monochromatic
#4C2779 #6935A8 #8752C8 #A780D7 #C7AFE6

Accessibility & contrast

On white

5.16
#8752C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8752C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752C8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752C8#FFFFFF#000000##FFFFFF
##8752C81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156CCC
Deuteranopia (green-blind)
#306DC5
Tritanopia (blue-blind)
#7A6A85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8752c8;
/* rgb */ color: rgb(135, 82, 200);
/* oklch */ color: oklch(55.5% 0.178 301.6);
Tailwind
colors: {
  custom: {
    50: '#ae85d9',
    500: '#8752c8',
    950: '#000000',
  },
}
SCSS
$custom: #8752c8;
$custom-light: #ae85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8752c8",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 266.949,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.17779,
    "h": 301.6
  },
  "luminance": 0.15356
}

Semantic roles & 50–950 ramp

primary
#8752C8
secondary
#BDD4A2
accent
#DB4D9B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752C8

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

Preview Lab → · Contrast checker → · Palette generator →

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