#8751E1#8751E1

#8751E1 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.208 H 296.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8751E1
RGBrgb(135, 81, 225)
HSLhsl(263, 71%, 60%)
HSVhsv(263, 64%, 88%)
CMYKcmyk(40%, 64%, 0%, 11.8%)
CIE-LABlab(47.59, 52.65, -65.41)
CIE-LCHlch(47.59, 83.97, 308.83°)
OKLaboklab(57.1% 0.0928 -0.1865)
OKLCHoklch(57.1% 0.208 296.4)
XYZxyz(26.5212, 16.4715, 73.0016)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751E1 #ABE151
analogous
#5163E1 #8751E1 #CF51E1
triadic
#8751E1 #E18751 #51E187
tetradic
#8751E1 #E15163 #ABE151 #51E1CF
square
#8751E1 #E15163 #ABE151 #51E1CF
split-complementary
#8751E1 #E1CF51 #63E151
monochromatic
#4C1B9D #6524D1 #8751E1 #AB85EA #CFB9F3

Accessibility & contrast

On white

4.89
#8751E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8751E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751E1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751E1#FFFFFF#000000##FFFFFF
##8751E11.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#707292
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8751e1;
/* rgb */ color: rgb(135, 81, 225);
/* oklch */ color: oklch(57.1% 0.208 296.4);
Tailwind
colors: {
  custom: {
    50: '#b085eb',
    500: '#8751e1',
    950: '#000000',
  },
}
SCSS
$custom: #8751e1;
$custom-light: #b085eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8751e1",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 262.5,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.20834,
    "h": 296.4
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#8751E1
secondary
#CEE3AB
accent
#ED3AAA
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8751E1

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

Preview Lab → · Contrast checker → · Palette generator →

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