#8751CE#8751CE

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

Color values

HEX#8751CE
RGBrgb(135, 81, 206)
HSLhsl(266, 56%, 56%)
HSVhsv(266, 61%, 81%)
CMYKcmyk(34.5%, 60.7%, 0%, 19.2%)
CIE-LABlab(46.30, 47.81, -56.65)
CIE-LCHlch(46.30, 74.13, 310.16°)
OKLaboklab(55.76% 0.0941 -0.1608)
OKLCHoklch(55.76% 0.186 300.3)
XYZxyz(24.0720, 15.4918, 60.1026)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751CE #98CE51
analogous
#515ACE #8751CE #C651CE
triadic
#8751CE #CE8751 #51CE87
tetradic
#8751CE #CE515A #98CE51 #51CEC6
square
#8751CE #CE515A #98CE51 #51CEC6
split-complementary
#8751CE #CEC651 #5ACE51
monochromatic
#4C2480 #6832B0 #8751CE #A881DB #C9B1E9

Accessibility & contrast

On white

5.12
#8751CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8751CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751CE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751CE#FFFFFF#000000##FFFFFF
##8751CE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#786C88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8751ce;
/* rgb */ color: rgb(135, 81, 206);
/* oklch */ color: oklch(55.8% 0.186 300.3);
Tailwind
colors: {
  custom: {
    50: '#ae84de',
    500: '#8751ce',
    950: '#000000',
  },
}
SCSS
$custom: #8751ce;
$custom-light: #ae84de;
$custom-dark: #000000;
JSON
{
  "hex": "#8751ce",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 265.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.18628,
    "h": 300.3
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#8751CE
secondary
#C1D7A4
accent
#DF489E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8751CE

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

Preview Lab → · Contrast checker → · Palette generator →

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