#8752DC#8752DC

#8752DC is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.201 H 297.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8752DC
RGBrgb(135, 82, 220)
HSLhsl(263, 66%, 59%)
HSVhsv(263, 63%, 86%)
CMYKcmyk(38.6%, 62.7%, 0%, 13.7%)
CIE-LABlab(47.43, 50.84, -62.82)
CIE-LCHlch(47.43, 80.82, 308.98°)
OKLaboklab(56.88% 0.0921 -0.1789)
OKLCHoklch(56.88% 0.201 297.2)
XYZxyz(25.9239, 16.3524, 69.4868)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752DC #A7DC52
analogous
#5262DC #8752DC #CC52DC
triadic
#8752DC #DC8752 #52DC87
tetradic
#8752DC #DC5262 #A7DC52 #52DCCC
square
#8752DC #DC5262 #A7DC52 #52DCCC
split-complementary
#8752DC #DCCC52 #62DC52
monochromatic
#4C1E95 #6629C8 #8752DC #AA85E6 #CEB8F1

Accessibility & contrast

On white

4.92
#8752DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8752DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752DC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752DC#FFFFFF#000000##FFFFFF
##8752DC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#727190
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8752dc;
/* rgb */ color: rgb(135, 82, 220);
/* oklch */ color: oklch(56.9% 0.201 297.2);
Tailwind
colors: {
  custom: {
    50: '#b085e8',
    500: '#8752dc',
    950: '#000000',
  },
}
SCSS
$custom: #8752dc;
$custom-light: #b085e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8752dc",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 263.043,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56875,
    "c": 0.20125,
    "h": 297.2
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#8752DC
secondary
#CBE0AA
accent
#E93FA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8752DC

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

Preview Lab → · Contrast checker → · Palette generator →

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