#8752E1#8752E1

#8752E1 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.207 H 296.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8752E1
RGBrgb(135, 82, 225)
HSLhsl(262, 70%, 60%)
HSVhsv(262, 64%, 88%)
CMYKcmyk(40%, 63.6%, 0%, 11.8%)
CIE-LABlab(47.78, 52.13, -65.10)
CIE-LCHlch(47.78, 83.40, 308.68°)
OKLaboklab(57.24% 0.0917 -0.1856)
OKLCHoklch(57.24% 0.207 296.3)
XYZxyz(26.5960, 16.6212, 73.0265)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752E1 #ACE152
analogous
#5264E1 #8752E1 #CF52E1
triadic
#8752E1 #E18752 #52E187
tetradic
#8752E1 #E15264 #ACE152 #52E1CF
square
#8752E1 #E15264 #ACE152 #52E1CF
split-complementary
#8752E1 #E1CF52 #64E152
monochromatic
#4B1B9D #6524D1 #8752E1 #AB86EA #CFBAF3

Accessibility & contrast

On white

4.86
#8752E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8752E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752E1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752E1#FFFFFF#000000##FFFFFF
##8752E11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#707392
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8752e1;
/* rgb */ color: rgb(135, 82, 225);
/* oklch */ color: oklch(57.2% 0.207 296.3);
Tailwind
colors: {
  custom: {
    50: '#b085eb',
    500: '#8752e1',
    950: '#000000',
  },
}
SCSS
$custom: #8752e1;
$custom-light: #b085eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8752e1",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 262.238,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.20704,
    "h": 296.3
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#8752E1
secondary
#CEE3AC
accent
#D2138C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8752E1

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

Preview Lab → · Contrast checker → · Palette generator →

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