#8752BF#8752BF

#8752BF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.167 H 303.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8752BF
RGBrgb(135, 82, 191)
HSLhsl(269, 46%, 54%)
HSVhsv(269, 57%, 75%)
CMYKcmyk(29.3%, 57.1%, 0%, 25.1%)
CIE-LABlab(45.56, 43.54, -49.17)
CIE-LCHlch(45.56, 65.67, 311.53°)
OKLaboklab(54.91% 0.093 -0.1388)
OKLCHoklch(54.91% 0.167 303.8)
XYZxyz(22.4108, 14.9471, 50.9845)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752BF #8ABF52
analogous
#5253BF #8752BF #BD52BF
triadic
#8752BF #BF8752 #52BF87
tetradic
#8752BF #BF5253 #8ABF52 #52BFBD
square
#8752BF #BF5253 #8ABF52 #52BFBD
split-complementary
#8752BF #BFBD52 #53BF52
monochromatic
#4A296E #69399B #8752BF #A67FD0 #C5ABE0

Accessibility & contrast

On white

5.26
#8752BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8752BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752BF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752BF#FFFFFF#000000##FFFFFF
##8752BF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#7D6781
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8752bf;
/* rgb */ color: rgb(135, 82, 191);
/* oklch */ color: oklch(54.9% 0.167 303.8);
Tailwind
colors: {
  custom: {
    50: '#ad85d3',
    500: '#8752bf',
    950: '#000000',
  },
}
SCSS
$custom: #8752bf;
$custom-light: #ad85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8752bf",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 269.174,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.16711,
    "h": 303.8
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#8752BF
secondary
#B7CE9F
accent
#D65296
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8752BF

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

Preview Lab → · Contrast checker → · Palette generator →

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