#8752BE#8752BE

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

Color values

HEX#8752BE
RGBrgb(135, 82, 190)
HSLhsl(269, 45%, 53%)
HSVhsv(269, 57%, 75%)
CMYKcmyk(28.9%, 56.8%, 0%, 25.5%)
CIE-LABlab(45.50, 43.30, -48.68)
CIE-LCHlch(45.50, 65.15, 311.65°)
OKLaboklab(54.85% 0.093 -0.1374)
OKLCHoklch(54.85% 0.166 304.1)
XYZxyz(22.3012, 14.9033, 50.4070)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752BE #89BE52
analogous
#5253BE #8752BE #BD52BE
triadic
#8752BE #BE8752 #52BE87
tetradic
#8752BE #BE5253 #89BE52 #52BEBD
square
#8752BE #BE5253 #89BE52 #52BEBD
split-complementary
#8752BE #BEBD52 #53BE52
monochromatic
#4A296D #693A99 #8752BE #A67ECF #C5ABDF

Accessibility & contrast

On white

5.28
#8752BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8752BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752BE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752BE#FFFFFF#000000##FFFFFF
##8752BE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC2
Deuteranopia (green-blind)
#3B6CBB
Tritanopia (blue-blind)
#7D6780
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8752be;
/* rgb */ color: rgb(135, 82, 190);
/* oklch */ color: oklch(54.9% 0.166 304.1);
Tailwind
colors: {
  custom: {
    50: '#ad85d2',
    500: '#8752be',
    950: '#000000',
  },
}
SCSS
$custom: #8752be;
$custom-light: #ad85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8752be",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 269.444,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.16592,
    "h": 304.1
  },
  "luminance": 0.14903
}

Semantic roles & 50–950 ramp

primary
#8752BE
secondary
#B6CD9F
accent
#D55395
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8752BE

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

Preview Lab → · Contrast checker → · Palette generator →

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