#8752E3#8752E3

#8752E3 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.209 H 295.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8752E3
RGBrgb(135, 82, 227)
HSLhsl(262, 72%, 61%)
HSVhsv(262, 64%, 89%)
CMYKcmyk(40.5%, 63.9%, 0%, 11%)
CIE-LABlab(47.92, 52.64, -66.01)
CIE-LCHlch(47.92, 84.43, 308.57°)
OKLaboklab(57.38% 0.0915 -0.1883)
OKLCHoklch(57.38% 0.209 295.9)
XYZxyz(26.8705, 16.7310, 74.4718)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752E3 #AEE352
analogous
#5265E3 #8752E3 #CF52E3
triadic
#8752E3 #E38752 #52E387
tetradic
#8752E3 #E35265 #AEE352 #52E3CF
square
#8752E3 #E35265 #AEE352 #52E3CF
split-complementary
#8752E3 #E3CF52 #65E352
monochromatic
#4B1AA1 #6423D5 #8752E3 #AC87EC #D0BBF4

Accessibility & contrast

On white

4.83
#8752E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8752E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752E3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752E3#FFFFFF#000000##FFFFFF
##8752E31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#6F7393
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8752e3;
/* rgb */ color: rgb(135, 82, 227);
/* oklch */ color: oklch(57.4% 0.209 295.9);
Tailwind
colors: {
  custom: {
    50: '#b085ed',
    500: '#8752e3',
    950: '#000000',
  },
}
SCSS
$custom: #8752e3;
$custom-light: #b085ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8752e3",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 261.931,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57381,
    "c": 0.20936,
    "h": 295.9
  },
  "luminance": 0.16732
}

Semantic roles & 50–950 ramp

primary
#8752E3
secondary
#D0E4AD
accent
#D4118D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8752E3

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

Preview Lab → · Contrast checker → · Palette generator →

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