#8752C7#8752C7

#8752C7 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.177 H 301.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8752C7
RGBrgb(135, 82, 199)
HSLhsl(267, 51%, 55%)
HSVhsv(267, 59%, 78%)
CMYKcmyk(32.2%, 58.8%, 0%, 22%)
CIE-LABlab(46.05, 45.52, -53.01)
CIE-LCHlch(46.05, 69.87, 310.65°)
OKLaboklab(55.43% 0.0931 -0.1501)
OKLCHoklch(55.43% 0.177 301.8)
XYZxyz(23.3154, 15.3089, 55.7483)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752C7 #92C752
analogous
#5258C7 #8752C7 #C152C7
triadic
#8752C7 #C78752 #52C787
tetradic
#8752C7 #C75258 #92C752 #52C7C1
square
#8752C7 #C75258 #92C752 #52C7C1
split-complementary
#8752C7 #C7C152 #58C752
monochromatic
#4B2778 #6936A6 #8752C7 #A780D6 #C7AEE5

Accessibility & contrast

On white

5.17
#8752C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8752C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752C7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752C7#FFFFFF#000000##FFFFFF
##8752C71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176CCB
Deuteranopia (green-blind)
#326DC4
Tritanopia (blue-blind)
#7A6A85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8752c7;
/* rgb */ color: rgb(135, 82, 199);
/* oklch */ color: oklch(55.4% 0.177 301.8);
Tailwind
colors: {
  custom: {
    50: '#ae85d9',
    500: '#8752c7',
    950: '#000000',
  },
}
SCSS
$custom: #8752c7;
$custom-light: #ae85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8752c7",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 267.179,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.1766,
    "h": 301.8
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#8752C7
secondary
#BDD3A2
accent
#DB4D9B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752C7

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

Preview Lab → · Contrast checker → · Palette generator →

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