#8752DD#8752DD

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

Color values

HEX#8752DD
RGBrgb(135, 82, 221)
HSLhsl(263, 67%, 59%)
HSVhsv(263, 63%, 87%)
CMYKcmyk(38.9%, 62.9%, 0%, 13.3%)
CIE-LABlab(47.50, 51.10, -63.28)
CIE-LCHlch(47.50, 81.33, 308.92°)
OKLaboklab(56.95% 0.092 -0.1803)
OKLCHoklch(56.95% 0.202 297)
XYZxyz(26.0568, 16.4055, 70.1863)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752DD #A8DD52
analogous
#5263DD #8752DD #CD52DD
triadic
#8752DD #DD8752 #52DD87
tetradic
#8752DD #DD5263 #A8DD52 #52DDCD
square
#8752DD #DD5263 #A8DD52 #52DDCD
split-complementary
#8752DD #DDCD52 #63DD52
monochromatic
#4C1E97 #6628CA #8752DD #AA85E7 #CEB8F1

Accessibility & contrast

On white

4.91
#8752DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8752DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752DD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752DD#FFFFFF#000000##FFFFFF
##8752DD1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#727190
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8752dd;
/* rgb */ color: rgb(135, 82, 221);
/* oklch */ color: oklch(56.9% 0.202 297.0);
Tailwind
colors: {
  custom: {
    50: '#b085e8',
    500: '#8752dd',
    950: '#000000',
  },
}
SCSS
$custom: #8752dd;
$custom-light: #b085e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8752dd",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 262.878,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56947,
    "c": 0.20242,
    "h": 297
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#8752DD
secondary
#CCE0AA
accent
#EA3EA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8752DD

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

Preview Lab → · Contrast checker → · Palette generator →

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