#8752D2#8752D2

#8752D2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.190 H 299.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8752D2
RGBrgb(135, 82, 210)
HSLhsl(265, 59%, 57%)
HSVhsv(265, 61%, 82%)
CMYKcmyk(35.7%, 61%, 0%, 17.6%)
CIE-LABlab(46.76, 48.28, -58.20)
CIE-LCHlch(46.76, 75.62, 309.68°)
OKLaboklab(56.17% 0.0927 -0.1653)
OKLCHoklch(56.17% 0.19 299.3)
XYZxyz(24.6390, 15.8384, 62.7193)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752D2 #9DD252
analogous
#525DD2 #8752D2 #C752D2
triadic
#8752D2 #D28752 #52D287
tetradic
#8752D2 #D2525D #9DD252 #52D2C7
square
#8752D2 #D2525D #9DD252 #52D2C7
split-complementary
#8752D2 #D2C752 #5DD252
monochromatic
#4C2387 #6830B7 #8752D2 #A983DF #CAB3EB

Accessibility & contrast

On white

5.04
#8752D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8752D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752D2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752D2#FFFFFF#000000##FFFFFF
##8752D21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#206ECF
Tritanopia (blue-blind)
#766E8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8752d2;
/* rgb */ color: rgb(135, 82, 210);
/* oklch */ color: oklch(56.2% 0.190 299.3);
Tailwind
colors: {
  custom: {
    50: '#af85e1',
    500: '#8752d2',
    950: '#000000',
  },
}
SCSS
$custom: #8752d2;
$custom-light: #af85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8752d2",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 264.844,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.18957,
    "h": 299.3
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#8752D2
secondary
#C4DAA6
accent
#E246A1
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752D2

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

Preview Lab → · Contrast checker → · Palette generator →

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