#8751BC#8751BC

#8751BC is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.165 H 304.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8751BC
RGBrgb(135, 81, 188)
HSLhsl(270, 44%, 53%)
HSVhsv(270, 57%, 74%)
CMYKcmyk(28.2%, 56.9%, 0%, 26.3%)
CIE-LABlab(45.17, 43.36, -48.04)
CIE-LCHlch(45.17, 64.71, 312.07°)
OKLaboklab(54.57% 0.0943 -0.1355)
OKLCHoklch(54.57% 0.165 304.8)
XYZxyz(22.0092, 14.6667, 49.2387)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751BC #86BC51
analogous
#5151BC #8751BC #BC51BC
triadic
#8751BC #BC8751 #51BC87
tetradic
#8751BC #BC5151 #86BC51 #51BCBC
square
#8751BC #BC5151 #86BC51 #51BCBC
split-complementary
#8751BC #BCBC51 #51BC51
monochromatic
#4A296A #683A96 #8751BC #A57DCD #C4A9DE

Accessibility & contrast

On white

5.34
#8751BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8751BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751BC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751BC#FFFFFF#000000##FFFFFF
##8751BC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#7E667F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8751bc;
/* rgb */ color: rgb(135, 81, 188);
/* oklch */ color: oklch(54.6% 0.165 304.8);
Tailwind
colors: {
  custom: {
    50: '#ad84d1',
    500: '#8751bc',
    950: '#000000',
  },
}
SCSS
$custom: #8751bc;
$custom-light: #ad84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8751bc",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 270.28,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54571,
    "c": 0.16508,
    "h": 304.8
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#8751BC
secondary
#B4CC9D
accent
#D45493
background
#FAF8FC
surface
#F5EFF9
border
#CFCAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8751BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8751BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva