#8752D6#8752D6

#8752D6 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.194 H 298.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8752D6
RGBrgb(135, 82, 214)
HSLhsl(264, 62%, 58%)
HSVhsv(264, 62%, 84%)
CMYKcmyk(36.9%, 61.7%, 0%, 16.1%)
CIE-LABlab(47.03, 49.30, -60.06)
CIE-LCHlch(47.03, 77.70, 309.38°)
OKLaboklab(56.45% 0.0925 -0.1708)
OKLCHoklch(56.45% 0.194 298.4)
XYZxyz(25.1435, 16.0402, 65.3767)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752D6 #A1D652
analogous
#525FD6 #8752D6 #C952D6
triadic
#8752D6 #D68752 #52D687
tetradic
#8752D6 #D6525F #A1D652 #52D6C9
square
#8752D6 #D6525F #A1D652 #52D6C9
split-complementary
#8752D6 #D6C952 #5FD652
monochromatic
#4C218C #672DBE #8752D6 #A983E2 #CCB5ED

Accessibility & contrast

On white

4.99
#8752D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8752D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752D6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752D6#FFFFFF#000000##FFFFFF
##8752D61.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#176ED3
Tritanopia (blue-blind)
#756F8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8752d6;
/* rgb */ color: rgb(135, 82, 214);
/* oklch */ color: oklch(56.5% 0.194 298.4);
Tailwind
colors: {
  custom: {
    50: '#af85e3',
    500: '#8752d6',
    950: '#000000',
  },
}
SCSS
$custom: #8752d6;
$custom-light: #af85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8752d6",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 264.091,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.19425,
    "h": 298.4
  },
  "luminance": 0.16041
}

Semantic roles & 50–950 ramp

primary
#8752D6
secondary
#C7DCA8
accent
#E543A4
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8752D6

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

Preview Lab → · Contrast checker → · Palette generator →

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