#8751CB#8751CB

#8751CB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.183 H 301.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8751CB
RGBrgb(135, 81, 203)
HSLhsl(267, 54%, 56%)
HSVhsv(267, 60%, 80%)
CMYKcmyk(33.5%, 60.1%, 0%, 20.4%)
CIE-LABlab(46.11, 47.06, -55.23)
CIE-LCHlch(46.11, 72.56, 310.43°)
OKLaboklab(55.55% 0.0942 -0.1566)
OKLCHoklch(55.55% 0.183 301)
XYZxyz(23.7110, 15.3474, 58.2015)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751CB #95CB51
analogous
#5158CB #8751CB #C451CB
triadic
#8751CB #CB8751 #51CB87
tetradic
#8751CB #CB5158 #95CB51 #51CBC4
square
#8751CB #CB5158 #95CB51 #51CBC4
split-complementary
#8751CB #CBC451 #58CB51
monochromatic
#4C257C #6833AC #8751CB #A780D9 #C8AFE7

Accessibility & contrast

On white

5.16
#8751CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8751CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751CB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751CB#FFFFFF#000000##FFFFFF
##8751CB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046DCF
Deuteranopia (green-blind)
#2B6DC8
Tritanopia (blue-blind)
#796B86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8751cb;
/* rgb */ color: rgb(135, 81, 203);
/* oklch */ color: oklch(55.6% 0.183 301.0);
Tailwind
colors: {
  custom: {
    50: '#ae84db',
    500: '#8751cb',
    950: '#000000',
  },
}
SCSS
$custom: #8751cb;
$custom-light: #ae84db;
$custom-dark: #000000;
JSON
{
  "hex": "#8751cb",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 266.557,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55552,
    "c": 0.18277,
    "h": 301
  },
  "luminance": 0.15348
}

Semantic roles & 50–950 ramp

primary
#8751CB
secondary
#BFD5A3
accent
#DD4A9C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8751CB

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

Preview Lab → · Contrast checker → · Palette generator →

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