#8752CF#8752CF

#8752CF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.186 H 299.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8752CF
RGBrgb(135, 82, 207)
HSLhsl(265, 57%, 57%)
HSVhsv(265, 60%, 81%)
CMYKcmyk(34.8%, 60.4%, 0%, 18.8%)
CIE-LABlab(46.57, 47.53, -56.79)
CIE-LCHlch(46.57, 74.06, 309.92°)
OKLaboklab(55.97% 0.0929 -0.1612)
OKLCHoklch(55.97% 0.186 299.9)
XYZxyz(24.2687, 15.6903, 60.7693)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752CF #9ACF52
analogous
#525CCF #8752CF #C652CF
triadic
#8752CF #CF8752 #52CF87
tetradic
#8752CF #CF525C #9ACF52 #52CFC6
square
#8752CF #CF525C #9ACF52 #52CFC6
split-complementary
#8752CF #CFC652 #5CCF52
monochromatic
#4C2482 #6831B2 #8752CF #A882DC #C9B2EA

Accessibility & contrast

On white

5.07
#8752CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8752CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752CF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752CF#FFFFFF#000000##FFFFFF
##8752CF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#266DCC
Tritanopia (blue-blind)
#786D89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8752cf;
/* rgb */ color: rgb(135, 82, 207);
/* oklch */ color: oklch(56.0% 0.186 299.9);
Tailwind
colors: {
  custom: {
    50: '#ae85de',
    500: '#8752cf',
    950: '#000000',
  },
}
SCSS
$custom: #8752cf;
$custom-light: #ae85de;
$custom-dark: #000000;
JSON
{
  "hex": "#8752cf",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 265.44,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.18605,
    "h": 299.9
  },
  "luminance": 0.1569
}

Semantic roles & 50–950 ramp

primary
#8752CF
secondary
#C2D8A5
accent
#E0489F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752CF

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

Preview Lab → · Contrast checker → · Palette generator →

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