#8751E4#8751E4

#8751E4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.212 H 295.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8751E4
RGBrgb(135, 81, 228)
HSLhsl(262, 73%, 61%)
HSVhsv(262, 64%, 89%)
CMYKcmyk(40.8%, 64.5%, 0%, 10.6%)
CIE-LABlab(47.80, 53.42, -66.77)
CIE-LCHlch(47.80, 85.51, 308.66°)
OKLaboklab(57.32% 0.0925 -0.1905)
OKLCHoklch(57.32% 0.212 295.9)
XYZxyz(26.9340, 16.6366, 75.1759)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751E4 #AEE451
analogous
#5164E4 #8751E4 #D051E4
triadic
#8751E4 #E48751 #51E487
tetradic
#8751E4 #E45164 #AEE451 #51E4D0
square
#8751E4 #E45164 #AEE451 #51E4D0
split-complementary
#8751E4 #E4D051 #64E451
monochromatic
#4B19A2 #6421D7 #8751E4 #AC86EC #D0BBF4

Accessibility & contrast

On white

4.85
#8751E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8751E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751E4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751E4#FFFFFF#000000##FFFFFF
##8751E41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#6F7393
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8751e4;
/* rgb */ color: rgb(135, 81, 228);
/* oklch */ color: oklch(57.3% 0.212 295.9);
Tailwind
colors: {
  custom: {
    50: '#b085ed',
    500: '#8751e4',
    950: '#000000',
  },
}
SCSS
$custom: #8751e4;
$custom-light: #b085ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8751e4",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 262.041,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57316,
    "c": 0.21178,
    "h": 295.9
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#8751E4
secondary
#D0E4AC
accent
#D5108D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8751E4

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

Preview Lab → · Contrast checker → · Palette generator →

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