#8752CA#8752CA

#8752CA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.180 H 301.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8752CA
RGBrgb(135, 82, 202)
HSLhsl(267, 53%, 56%)
HSVhsv(267, 59%, 79%)
CMYKcmyk(33.2%, 59.4%, 0%, 20.8%)
CIE-LABlab(46.24, 46.27, -54.44)
CIE-LCHlch(46.24, 71.44, 310.36°)
OKLaboklab(55.63% 0.093 -0.1543)
OKLCHoklch(55.63% 0.18 301.1)
XYZxyz(23.6671, 15.4496, 57.6009)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8752CA #95CA52
analogous
#5259CA #8752CA #C352CA
triadic
#8752CA #CA8752 #52CA87
tetradic
#8752CA #CA5259 #95CA52 #52CAC3
square
#8752CA #CA5259 #95CA52 #52CAC3
split-complementary
#8752CA #CAC352 #59CA52
monochromatic
#4C267C #6834AB #8752CA #A781D8 #C8B0E7

Accessibility & contrast

On white

5.13
#8752CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8752CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8752CA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8752CA#FFFFFF#000000##FFFFFF
##8752CA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6DCE
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#796B86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8752ca;
/* rgb */ color: rgb(135, 82, 202);
/* oklch */ color: oklch(55.6% 0.180 301.1);
Tailwind
colors: {
  custom: {
    50: '#ae85db',
    500: '#8752ca',
    950: '#000000',
  },
}
SCSS
$custom: #8752ca;
$custom-light: #ae85db;
$custom-dark: #000000;
JSON
{
  "hex": "#8752ca",
  "rgb": {
    "r": 135,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 266.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.18015,
    "h": 301.1
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#8752CA
secondary
#BFD5A3
accent
#DD4B9C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8752CA

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

Preview Lab → · Contrast checker → · Palette generator →

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