#8752D5#8752D5

#8752D5 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.193 H 298.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8752D5
RGBrgb(135, 82, 213)
HSLhsl(264, 61%, 58%)
HSVhsv(264, 62%, 84%)
CMYKcmyk(36.6%, 61.5%, 0%, 16.5%)
CIE-LABlab(46.96, 49.05, -59.60)
CIE-LCHlch(46.96, 77.18, 309.45°)
OKLaboklab(56.38% 0.0926 -0.1694)
OKLCHoklch(56.38% 0.193 298.7)
XYZxyz(25.0162, 15.9893, 64.7061)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752D5 #A0D552
analogous
#525ED5 #8752D5 #C952D5
triadic
#8752D5 #D58752 #52D587
tetradic
#8752D5 #D5525E #A0D552 #52D5C9
square
#8752D5 #D5525E #A0D552 #52D5C9
split-complementary
#8752D5 #D5C952 #5ED552
monochromatic
#4C228B #672EBC #8752D5 #A983E1 #CBB4ED

Accessibility & contrast

On white

5.00
#8752D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8752D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752D5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752D5#FFFFFF#000000##FFFFFF
##8752D51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#196ED2
Tritanopia (blue-blind)
#756F8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8752d5;
/* rgb */ color: rgb(135, 82, 213);
/* oklch */ color: oklch(56.4% 0.193 298.7);
Tailwind
colors: {
  custom: {
    50: '#af85e3',
    500: '#8752d5',
    950: '#000000',
  },
}
SCSS
$custom: #8752d5;
$custom-light: #af85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8752d5",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 264.275,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.19308,
    "h": 298.7
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#8752D5
secondary
#C6DCA7
accent
#E444A3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8752D5

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

Preview Lab → · Contrast checker → · Palette generator →

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