#8752CE#8752CE

#8752CE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.185 H 300.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8752CE
RGBrgb(135, 82, 206)
HSLhsl(266, 56%, 56%)
HSVhsv(266, 60%, 81%)
CMYKcmyk(34.5%, 60.2%, 0%, 19.2%)
CIE-LABlab(46.50, 47.27, -56.32)
CIE-LCHlch(46.50, 73.53, 310.01°)
OKLaboklab(55.9% 0.0929 -0.1598)
OKLCHoklch(55.9% 0.185 300.2)
XYZxyz(24.1469, 15.6415, 60.1275)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752CE #99CE52
analogous
#525BCE #8752CE #C552CE
triadic
#8752CE #CE8752 #52CE87
tetradic
#8752CE #CE525B #99CE52 #52CEC5
square
#8752CE #CE525B #99CE52 #52CEC5
split-complementary
#8752CE #CEC552 #5BCE52
monochromatic
#4C2581 #6832B1 #8752CE #A882DC #C9B1E9

Accessibility & contrast

On white

5.09
#8752CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8752CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752CE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752CE#FFFFFF#000000##FFFFFF
##8752CE1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#786C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8752ce;
/* rgb */ color: rgb(135, 82, 206);
/* oklch */ color: oklch(55.9% 0.185 300.2);
Tailwind
colors: {
  custom: {
    50: '#ae85de',
    500: '#8752ce',
    950: '#000000',
  },
}
SCSS
$custom: #8752ce;
$custom-light: #ae85de;
$custom-dark: #000000;
JSON
{
  "hex": "#8752ce",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 265.645,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.18487,
    "h": 300.2
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#8752CE
secondary
#C2D7A4
accent
#DF499F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752CE

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

Preview Lab → · Contrast checker → · Palette generator →

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