#8752BA#8752BA

#8752BA is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.161 H 305.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8752BA
RGBrgb(135, 82, 186)
HSLhsl(271, 43%, 53%)
HSVhsv(271, 56%, 73%)
CMYKcmyk(27.4%, 55.9%, 0%, 27.1%)
CIE-LABlab(45.26, 42.32, -46.73)
CIE-LCHlch(45.26, 63.05, 312.17°)
OKLaboklab(54.6% 0.0929 -0.1317)
OKLCHoklch(54.6% 0.161 305.2)
XYZxyz(21.8700, 14.7308, 48.1360)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752BA #85BA52
analogous
#5352BA #8752BA #BA52B9
triadic
#8752BA #BA8752 #52BA87
tetradic
#8752BA #BA5352 #85BA52 #52B9BA
square
#8752BA #BA5352 #85BA52 #52B9BA
split-complementary
#8752BA #B9BA52 #52BA53
monochromatic
#492A68 #683B94 #8752BA #A57ECB #C4AADD

Accessibility & contrast

On white

5.32
#8752BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8752BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752BA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752BA#FFFFFF#000000##FFFFFF
##8752BA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABD
Deuteranopia (green-blind)
#3F6BB8
Tritanopia (blue-blind)
#7E667E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8752ba;
/* rgb */ color: rgb(135, 82, 186);
/* oklch */ color: oklch(54.6% 0.161 305.2);
Tailwind
colors: {
  custom: {
    50: '#ad85cf',
    500: '#8752ba',
    950: '#000000',
  },
}
SCSS
$custom: #8752ba;
$custom-light: #ad85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8752ba",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 270.577,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.16115,
    "h": 305.2
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#8752BA
secondary
#B3CA9D
accent
#D35593
background
#FAF8FC
surface
#F5EFF9
border
#CFCAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8752BA

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

Preview Lab → · Contrast checker → · Palette generator →

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