#8752D4#8752D4

#8752D4 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.192 H 298.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8752D4
RGBrgb(135, 82, 212)
HSLhsl(264, 60%, 58%)
HSVhsv(264, 61%, 83%)
CMYKcmyk(36.3%, 61.3%, 0%, 16.9%)
CIE-LABlab(46.89, 48.79, -59.13)
CIE-LCHlch(46.89, 76.66, 309.53°)
OKLaboklab(56.31% 0.0926 -0.1681)
OKLCHoklch(56.31% 0.192 298.9)
XYZxyz(24.8897, 15.9387, 64.0397)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752D4 #9FD452
analogous
#525ED4 #8752D4 #C852D4
triadic
#8752D4 #D48752 #52D487
tetradic
#8752D4 #D4525E #9FD452 #52D4C8
square
#8752D4 #D4525E #9FD452 #52D4C8
split-complementary
#8752D4 #D4C852 #5ED452
monochromatic
#4C2289 #672EBA #8752D4 #A983E0 #CBB4EC

Accessibility & contrast

On white

5.01
#8752D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8752D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752D4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752D4#FFFFFF#000000##FFFFFF
##8752D41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#1C6ED1
Tritanopia (blue-blind)
#766E8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8752d4;
/* rgb */ color: rgb(135, 82, 212);
/* oklch */ color: oklch(56.3% 0.192 298.9);
Tailwind
colors: {
  custom: {
    50: '#af85e2',
    500: '#8752d4',
    950: '#000000',
  },
}
SCSS
$custom: #8752d4;
$custom-light: #af85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8752d4",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 264.462,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56313,
    "c": 0.19191,
    "h": 298.9
  },
  "luminance": 0.15939
}

Semantic roles & 50–950 ramp

primary
#8752D4
secondary
#C6DBA7
accent
#E344A3
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752D4

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

Preview Lab → · Contrast checker → · Palette generator →

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