#8751CF#8751CF

#8751CF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.187 H 300.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8751CF
RGBrgb(135, 81, 207)
HSLhsl(266, 57%, 56%)
HSVhsv(266, 61%, 81%)
CMYKcmyk(34.8%, 60.9%, 0%, 18.8%)
CIE-LABlab(46.37, 48.06, -57.12)
CIE-LCHlch(46.37, 74.65, 310.08°)
OKLaboklab(55.82% 0.0941 -0.1621)
OKLCHoklch(55.82% 0.187 300.1)
XYZxyz(24.1939, 15.5406, 60.7444)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751CF #99CF51
analogous
#515ACF #8751CF #C651CF
triadic
#8751CF #CF8751 #51CF87
tetradic
#8751CF #CF515A #99CF51 #51CFC6
square
#8751CF #CF515A #99CF51 #51CFC6
split-complementary
#8751CF #CFC651 #5ACF51
monochromatic
#4C2482 #6831B2 #8751CF #A881DC #C9B1E9

Accessibility & contrast

On white

5.11
#8751CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8751CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751CF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751CF#FFFFFF#000000##FFFFFF
##8751CF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#786C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8751cf;
/* rgb */ color: rgb(135, 81, 207);
/* oklch */ color: oklch(55.8% 0.187 300.1);
Tailwind
colors: {
  custom: {
    50: '#ae84de',
    500: '#8751cf',
    950: '#000000',
  },
}
SCSS
$custom: #8751cf;
$custom-light: #ae84de;
$custom-dark: #000000;
JSON
{
  "hex": "#8751cf",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 265.714,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.18745,
    "h": 300.1
  },
  "luminance": 0.15541
}

Semantic roles & 50–950 ramp

primary
#8751CF
secondary
#C2D8A4
accent
#E0489F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8751CF

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

Preview Lab → · Contrast checker → · Palette generator →

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