#8752E2#8752E2

#8752E2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.208 H 296.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8752E2
RGBrgb(135, 82, 226)
HSLhsl(262, 71%, 60%)
HSVhsv(262, 64%, 89%)
CMYKcmyk(40.3%, 63.7%, 0%, 11.4%)
CIE-LABlab(47.85, 52.38, -65.56)
CIE-LCHlch(47.85, 83.92, 308.63°)
OKLaboklab(57.31% 0.0916 -0.187)
OKLCHoklch(57.31% 0.208 296.1)
XYZxyz(26.7328, 16.6759, 73.7471)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752E2 #ADE252
analogous
#5265E2 #8752E2 #CF52E2
triadic
#8752E2 #E28752 #52E287
tetradic
#8752E2 #E25265 #ADE252 #52E2CF
square
#8752E2 #E25265 #ADE252 #52E2CF
split-complementary
#8752E2 #E2CF52 #65E252
monochromatic
#4B1B9F #6423D3 #8752E2 #AB86EB #D0BBF4

Accessibility & contrast

On white

4.84
#8752E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8752E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752E2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752E2#FFFFFF#000000##FFFFFF
##8752E21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#707393
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8752e2;
/* rgb */ color: rgb(135, 82, 226);
/* oklch */ color: oklch(57.3% 0.208 296.1);
Tailwind
colors: {
  custom: {
    50: '#b085ec',
    500: '#8752e2',
    950: '#000000',
  },
}
SCSS
$custom: #8752e2;
$custom-light: #b085ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8752e2",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 262.083,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57308,
    "c": 0.2082,
    "h": 296.1
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#8752E2
secondary
#CFE3AC
accent
#D3128C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8752E2

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

Preview Lab → · Contrast checker → · Palette generator →

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