#8752E8#8752E8

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

Color values

HEX#8752E8
RGBrgb(135, 82, 232)
HSLhsl(261, 77%, 62%)
HSVhsv(261, 65%, 91%)
CMYKcmyk(41.8%, 64.7%, 0%, 9%)
CIE-LABlab(48.27, 53.94, -68.26)
CIE-LCHlch(48.27, 87.00, 308.32°)
OKLaboklab(57.75% 0.091 -0.1949)
OKLCHoklch(57.75% 0.215 295)
XYZxyz(27.5706, 17.0110, 78.1591)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752E8 #B3E852
analogous
#5268E8 #8752E8 #D252E8
triadic
#8752E8 #E88752 #52E887
tetradic
#8752E8 #E85268 #B3E852 #52E8D2
square
#8752E8 #E85268 #B3E852 #52E8D2
split-complementary
#8752E8 #E8D252 #68E852
monochromatic
#4A16A9 #621EDF #8752E8 #AC88EF #D2BEF6

Accessibility & contrast

On white

4.77
#8752E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8752E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752E8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752E8#FFFFFF#000000##FFFFFF
##8752E81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#6D7596
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8752e8;
/* rgb */ color: rgb(135, 82, 232);
/* oklch */ color: oklch(57.7% 0.215 295.0);
Tailwind
colors: {
  custom: {
    50: '#b186f0',
    500: '#8752e8',
    950: '#000000',
  },
}
SCSS
$custom: #8752e8;
$custom-light: #b186f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8752e8",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 261.2,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57748,
    "c": 0.2151,
    "h": 295
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#8752E8
secondary
#D3E7AF
accent
#D90D91
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8752E8

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

Preview Lab → · Contrast checker → · Palette generator →

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