#8752D9#8752D9

#8752D9 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.198 H 297.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8752D9
RGBrgb(135, 82, 217)
HSLhsl(264, 64%, 59%)
HSVhsv(264, 62%, 85%)
CMYKcmyk(37.8%, 62.2%, 0%, 14.9%)
CIE-LABlab(47.23, 50.07, -61.45)
CIE-LCHlch(47.23, 79.26, 309.17°)
OKLaboklab(56.66% 0.0923 -0.1749)
OKLCHoklch(56.66% 0.198 297.8)
XYZxyz(25.5302, 16.1949, 67.4130)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752D9 #A4D952
analogous
#5260D9 #8752D9 #CB52D9
triadic
#8752D9 #D98752 #52D987
tetradic
#8752D9 #D95260 #A4D952 #52D9CB
square
#8752D9 #D95260 #A4D952 #52D9CB
split-complementary
#8752D9 #D9CB52 #60D952
monochromatic
#4C2091 #672BC3 #8752D9 #AA84E4 #CDB6EF

Accessibility & contrast

On white

4.95
#8752D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8752D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752D9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752D9#FFFFFF#000000##FFFFFF
##8752D91.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0B6FD6
Tritanopia (blue-blind)
#74708E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8752d9;
/* rgb */ color: rgb(135, 82, 217);
/* oklch */ color: oklch(56.7% 0.198 297.8);
Tailwind
colors: {
  custom: {
    50: '#af85e6',
    500: '#8752d9',
    950: '#000000',
  },
}
SCSS
$custom: #8752d9;
$custom-light: #af85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8752d9",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 263.556,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.19776,
    "h": 297.8
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#8752D9
secondary
#C9DEA9
accent
#E741A6
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8752D9

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

Preview Lab → · Contrast checker → · Palette generator →

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