#8752CB#8752CB

#8752CB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.181 H 300.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8752CB
RGBrgb(135, 82, 203)
HSLhsl(266, 54%, 56%)
HSVhsv(266, 60%, 80%)
CMYKcmyk(33.5%, 59.6%, 0%, 20.4%)
CIE-LABlab(46.31, 46.52, -54.91)
CIE-LCHlch(46.31, 71.97, 310.27°)
OKLaboklab(55.7% 0.093 -0.1557)
OKLCHoklch(55.7% 0.181 300.9)
XYZxyz(23.7859, 15.4972, 58.2265)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752CB #96CB52
analogous
#5259CB #8752CB #C352CB
triadic
#8752CB #CB8752 #52CB87
tetradic
#8752CB #CB5259 #96CB52 #52CBC3
square
#8752CB #CB5259 #96CB52 #52CBC3
split-complementary
#8752CB #CBC352 #59CB52
monochromatic
#4C267D #6834AC #8752CB #A881D9 #C8B0E7

Accessibility & contrast

On white

5.12
#8752CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8752CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752CB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752CB#FFFFFF#000000##FFFFFF
##8752CB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCF
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#796B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8752cb;
/* rgb */ color: rgb(135, 82, 203);
/* oklch */ color: oklch(55.7% 0.181 300.9);
Tailwind
colors: {
  custom: {
    50: '#ae85db',
    500: '#8752cb',
    950: '#000000',
  },
}
SCSS
$custom: #8752cb;
$custom-light: #ae85db;
$custom-dark: #000000;
JSON
{
  "hex": "#8752cb",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 266.281,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55699,
    "c": 0.18133,
    "h": 300.9
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#8752CB
secondary
#C0D5A3
accent
#DD4B9D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752CB

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

Preview Lab → · Contrast checker → · Palette generator →

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