#8751DC#8751DC

#8751DC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.203 H 297.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8751DC
RGBrgb(135, 81, 220)
HSLhsl(263, 67%, 59%)
HSVhsv(263, 63%, 86%)
CMYKcmyk(38.6%, 63.2%, 0%, 13.7%)
CIE-LABlab(47.24, 51.36, -63.14)
CIE-LCHlch(47.24, 81.39, 309.13°)
OKLaboklab(56.74% 0.0932 -0.1798)
OKLCHoklch(56.74% 0.203 297.4)
XYZxyz(25.8491, 16.2026, 69.4618)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751DC #A6DC51
analogous
#5161DC #8751DC #CC51DC
triadic
#8751DC #DC8751 #51DC87
tetradic
#8751DC #DC5161 #A6DC51 #51DCCC
square
#8751DC #DC5161 #A6DC51 #51DCCC
split-complementary
#8751DC #DCCC51 #61DC51
monochromatic
#4C1E95 #6628C8 #8751DC #AA84E6 #CDB7F0

Accessibility & contrast

On white

4.95
#8751DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8751DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751DC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751DC#FFFFFF#000000##FFFFFF
##8751DC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#73708F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8751dc;
/* rgb */ color: rgb(135, 81, 220);
/* oklch */ color: oklch(56.7% 0.203 297.4);
Tailwind
colors: {
  custom: {
    50: '#b085e8',
    500: '#8751dc',
    950: '#000000',
  },
}
SCSS
$custom: #8751dc;
$custom-light: #b085e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8751dc",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 263.309,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56735,
    "c": 0.20257,
    "h": 297.4
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#8751DC
secondary
#CAE0A9
accent
#E93EA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8751DC

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

Preview Lab → · Contrast checker → · Palette generator →

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