#8752BD#8752BD

#8752BD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.165 H 304.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8752BD
RGBrgb(135, 82, 189)
HSLhsl(270, 45%, 53%)
HSVhsv(270, 57%, 74%)
CMYKcmyk(28.6%, 56.6%, 0%, 25.9%)
CIE-LABlab(45.44, 43.05, -48.20)
CIE-LCHlch(45.44, 64.62, 311.77°)
OKLaboklab(54.79% 0.093 -0.136)
OKLCHoklch(54.79% 0.165 304.4)
XYZxyz(22.1923, 14.8597, 49.8333)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752BD #88BD52
analogous
#5252BD #8752BD #BD52BD
triadic
#8752BD #BD8752 #52BD87
tetradic
#8752BD #BD5252 #88BD52 #52BDBD
square
#8752BD #BD5252 #88BD52 #52BDBD
split-complementary
#8752BD #BDBD52 #52BD52
monochromatic
#4A296C #683A98 #8752BD #A67ECE #C4ABDF

Accessibility & contrast

On white

5.29
#8752BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8752BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752BD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752BD#FFFFFF#000000##FFFFFF
##8752BD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC1
Deuteranopia (green-blind)
#3C6CBA
Tritanopia (blue-blind)
#7D6780
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8752bd;
/* rgb */ color: rgb(135, 82, 189);
/* oklch */ color: oklch(54.8% 0.165 304.4);
Tailwind
colors: {
  custom: {
    50: '#ad85d1',
    500: '#8752bd',
    950: '#000000',
  },
}
SCSS
$custom: #8752bd;
$custom-light: #ad85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8752bd",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 269.72,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54787,
    "c": 0.16473,
    "h": 304.4
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#8752BD
secondary
#B6CC9E
accent
#D45395
background
#FAF8FC
surface
#F5EFF9
border
#CFCAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8752BD

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

Preview Lab → · Contrast checker → · Palette generator →

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