#8751D6#8751D6

#8751D6 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.196 H 298.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8751D6
RGBrgb(135, 81, 214)
HSLhsl(264, 62%, 58%)
HSVhsv(264, 62%, 84%)
CMYKcmyk(36.9%, 62.1%, 0%, 16.1%)
CIE-LABlab(46.83, 49.83, -60.38)
CIE-LCHlch(46.83, 78.28, 309.53°)
OKLaboklab(56.31% 0.0937 -0.1717)
OKLCHoklch(56.31% 0.196 298.6)
XYZxyz(25.0687, 15.8905, 65.3517)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751D6 #A0D651
analogous
#515DD6 #8751D6 #C951D6
triadic
#8751D6 #D68751 #51D687
tetradic
#8751D6 #D6515D #A0D651 #51D6C9
square
#8751D6 #D6515D #A0D651 #51D6C9
split-complementary
#8751D6 #D6C951 #5DD651
monochromatic
#4C218C #672DBD #8751D6 #A983E2 #CBB4ED

Accessibility & contrast

On white

5.03
#8751D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8751D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751D6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751D6#FFFFFF#000000##FFFFFF
##8751D61.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#136ED3
Tritanopia (blue-blind)
#756E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8751d6;
/* rgb */ color: rgb(135, 81, 214);
/* oklch */ color: oklch(56.3% 0.196 298.6);
Tailwind
colors: {
  custom: {
    50: '#af85e3',
    500: '#8751d6',
    950: '#000000',
  },
}
SCSS
$custom: #8751d6;
$custom-light: #af85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8751d6",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 264.361,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.19562,
    "h": 298.6
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#8751D6
secondary
#C6DCA7
accent
#E543A3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8751D6

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

Preview Lab → · Contrast checker → · Palette generator →

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