#8752E7#8752E7

#8752E7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.214 H 295.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8752E7
RGBrgb(135, 82, 231)
HSLhsl(261, 76%, 61%)
HSVhsv(261, 65%, 91%)
CMYKcmyk(41.6%, 64.5%, 0%, 9.4%)
CIE-LABlab(48.20, 53.68, -67.81)
CIE-LCHlch(48.20, 86.49, 308.37°)
OKLaboklab(57.67% 0.0911 -0.1936)
OKLCHoklch(57.67% 0.214 295.2)
XYZxyz(27.4289, 16.9544, 77.4132)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752E7 #B2E752
analogous
#5268E7 #8752E7 #D252E7
triadic
#8752E7 #E78752 #52E787
tetradic
#8752E7 #E75268 #B2E752 #52E7D2
square
#8752E7 #E75268 #B2E752 #52E7D2
split-complementary
#8752E7 #E7D252 #68E752
monochromatic
#4A17A7 #621FDD #8752E7 #AC88EE #D2BDF6

Accessibility & contrast

On white

4.78
#8752E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8752E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752E7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752E7#FFFFFF#000000##FFFFFF
##8752E71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#6E7595
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8752e7;
/* rgb */ color: rgb(135, 82, 231);
/* oklch */ color: oklch(57.7% 0.214 295.2);
Tailwind
colors: {
  custom: {
    50: '#b186f0',
    500: '#8752e7',
    950: '#000000',
  },
}
SCSS
$custom: #8752e7;
$custom-light: #b186f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8752e7",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 261.342,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.21396,
    "h": 295.2
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#8752E7
secondary
#D2E6AF
accent
#D80E90
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8752E7

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

Preview Lab → · Contrast checker → · Palette generator →

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