#8756CA#8756CA

#8756CA is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.174 H 300.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8756CA
RGBrgb(135, 86, 202)
HSLhsl(265, 52%, 56%)
HSVhsv(265, 57%, 79%)
CMYKcmyk(33.2%, 57.4%, 0%, 20.8%)
CIE-LABlab(47.07, 44.09, -53.11)
CIE-LCHlch(47.07, 69.03, 309.70°)
OKLaboklab(56.23% 0.0881 -0.1504)
OKLCHoklch(56.23% 0.174 300.4)
XYZxyz(23.9776, 16.0706, 57.7044)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8756CA #99CA56
analogous
#565FCA #8756CA #C156CA
triadic
#8756CA #CA8756 #56CA87
tetradic
#8756CA #CA565F #99CA56 #56CAC1
square
#8756CA #CA565F #99CA56 #56CAC1
split-complementary
#8756CA #CAC156 #5FCA56
monochromatic
#4C287E #6836AD #8756CA #A885D9 #C9B3E7

Accessibility & contrast

On white

4.98
#8756CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8756CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8756CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8756CA#FFFFFF#000000##FFFFFF
##8756CA1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6FCE
Deuteranopia (green-blind)
#346FC7
Tritanopia (blue-blind)
#796E88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8756ca;
/* rgb */ color: rgb(135, 86, 202);
/* oklch */ color: oklch(56.2% 0.174 300.4);
Tailwind
colors: {
  custom: {
    50: '#ae87db',
    500: '#8756ca',
    950: '#000000',
  },
}
SCSS
$custom: #8756ca;
$custom-light: #ae87db;
$custom-dark: #000000;
JSON
{
  "hex": "#8756ca",
  "rgb": {
    "r": 135,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 265.345,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.1743,
    "h": 300.4
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#8756CA
secondary
#C2D6A6
accent
#DC4C9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8756CA

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

Preview Lab → · Contrast checker → · Palette generator →

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