#8751CC#8751CC

#8751CC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.184 H 300.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8751CC
RGBrgb(135, 81, 204)
HSLhsl(266, 55%, 56%)
HSVhsv(266, 60%, 80%)
CMYKcmyk(33.8%, 60.3%, 0%, 20%)
CIE-LABlab(46.17, 47.31, -55.71)
CIE-LCHlch(46.17, 73.08, 310.34°)
OKLaboklab(55.62% 0.0942 -0.158)
OKLCHoklch(55.62% 0.184 300.8)
XYZxyz(23.8306, 15.3953, 58.8311)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751CC #96CC51
analogous
#5158CC #8751CC #C451CC
triadic
#8751CC #CC8751 #51CC87
tetradic
#8751CC #CC5158 #96CC51 #51CCC4
square
#8751CC #CC5158 #96CC51 #51CCC4
split-complementary
#8751CC #CCC451 #58CC51
monochromatic
#4C257E #6833AD #8751CC #A880DA #C8B0E8

Accessibility & contrast

On white

5.15
#8751CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8751CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751CC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751CC#FFFFFF#000000##FFFFFF
##8751CC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#796B87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8751cc;
/* rgb */ color: rgb(135, 81, 204);
/* oklch */ color: oklch(55.6% 0.184 300.8);
Tailwind
colors: {
  custom: {
    50: '#ae84dc',
    500: '#8751cc',
    950: '#000000',
  },
}
SCSS
$custom: #8751cc;
$custom-light: #ae84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8751cc",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 266.341,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.18394,
    "h": 300.8
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#8751CC
secondary
#C0D6A3
accent
#DE4A9D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8751CC

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

Preview Lab → · Contrast checker → · Palette generator →

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