#8752C2#8752C2

#8752C2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.171 H 303.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8752C2
RGBrgb(135, 82, 194)
HSLhsl(268, 48%, 54%)
HSVhsv(268, 58%, 76%)
CMYKcmyk(30.4%, 57.7%, 0%, 23.9%)
CIE-LABlab(45.74, 44.28, -50.61)
CIE-LCHlch(45.74, 67.25, 311.18°)
OKLaboklab(55.11% 0.0931 -0.1431)
OKLCHoklch(55.11% 0.171 303)
XYZxyz(22.7444, 15.0805, 52.7411)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752C2 #8DC252
analogous
#5255C2 #8752C2 #BF52C2
triadic
#8752C2 #C28752 #52C287
tetradic
#8752C2 #C25255 #8DC252 #52C2BF
square
#8752C2 #C25255 #8DC252 #52C2BF
split-complementary
#8752C2 #C2BF52 #55C252
monochromatic
#4B2872 #69389F #8752C2 #A67FD2 #C6ACE2

Accessibility & contrast

On white

5.23
#8752C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8752C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752C2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752C2#FFFFFF#000000##FFFFFF
##8752C21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#7C6882
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8752c2;
/* rgb */ color: rgb(135, 82, 194);
/* oklch */ color: oklch(55.1% 0.171 303.0);
Tailwind
colors: {
  custom: {
    50: '#ad85d5',
    500: '#8752c2',
    950: '#000000',
  },
}
SCSS
$custom: #8752c2;
$custom-light: #ad85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8752c2",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 268.393,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.17067,
    "h": 303
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#8752C2
secondary
#B9D0A0
accent
#D75098
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8752C2

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

Preview Lab → · Contrast checker → · Palette generator →

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