#8752D7#8752D7

#8752D7 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.195 H 298.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8752D7
RGBrgb(135, 82, 215)
HSLhsl(264, 62%, 58%)
HSVhsv(264, 62%, 84%)
CMYKcmyk(37.2%, 61.9%, 0%, 15.7%)
CIE-LABlab(47.09, 49.56, -60.52)
CIE-LCHlch(47.09, 78.22, 309.31°)
OKLaboklab(56.52% 0.0925 -0.1722)
OKLCHoklch(56.52% 0.195 298.2)
XYZxyz(25.2716, 16.0914, 66.0513)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752D7 #A2D752
analogous
#525FD7 #8752D7 #C952D7
triadic
#8752D7 #D78752 #52D787
tetradic
#8752D7 #D7525F #A2D752 #52D7C9
square
#8752D7 #D7525F #A2D752 #52D7C9
split-complementary
#8752D7 #D7C952 #5FD752
monochromatic
#4C218E #672CC0 #8752D7 #A984E2 #CCB5EE

Accessibility & contrast

On white

4.98
#8752D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8752D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752D7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752D7#FFFFFF#000000##FFFFFF
##8752D71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#136ED4
Tritanopia (blue-blind)
#746F8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8752d7;
/* rgb */ color: rgb(135, 82, 215);
/* oklch */ color: oklch(56.5% 0.195 298.2);
Tailwind
colors: {
  custom: {
    50: '#af85e4',
    500: '#8752d7',
    950: '#000000',
  },
}
SCSS
$custom: #8752d7;
$custom-light: #af85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8752d7",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 263.91,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.19542,
    "h": 298.2
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#8752D7
secondary
#C8DDA8
accent
#E642A4
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8752D7

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

Preview Lab → · Contrast checker → · Palette generator →

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