#8751E9#8751E9

#8751E9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.217 H 295.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8751E9
RGBrgb(135, 81, 233)
HSLhsl(261, 78%, 62%)
HSVhsv(261, 65%, 91%)
CMYKcmyk(42.1%, 65.2%, 0%, 8.6%)
CIE-LABlab(48.16, 54.72, -69.01)
CIE-LCHlch(48.16, 88.07, 308.41°)
OKLaboklab(57.69% 0.0919 -0.1971)
OKLCHoklch(57.69% 0.218 295)
XYZxyz(27.6382, 16.9183, 78.8844)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751E9 #B3E951
analogous
#5167E9 #8751E9 #D351E9
triadic
#8751E9 #E98751 #51E987
tetradic
#8751E9 #E95167 #B3E951 #51E9D3
square
#8751E9 #E95167 #B3E951 #51E9D3
split-complementary
#8751E9 #E9D351 #67E951
monochromatic
#4A16AA #621CE0 #8751E9 #AC87F0 #D2BEF7

Accessibility & contrast

On white

4.79
#8751E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8751E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751E9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751E9#FFFFFF#000000##FFFFFF
##8751E91.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#6D7596
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8751e9;
/* rgb */ color: rgb(135, 81, 233);
/* oklch */ color: oklch(57.7% 0.217 295.0);
Tailwind
colors: {
  custom: {
    50: '#b185f1',
    500: '#8751e9',
    950: '#000000',
  },
}
SCSS
$custom: #8751e9;
$custom-light: #b185f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8751e9",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 261.316,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57687,
    "c": 0.2175,
    "h": 295
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#8751E9
secondary
#D3E7AF
accent
#DA0C91
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8751E9

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

Preview Lab → · Contrast checker → · Palette generator →

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