#8751D5#8751D5

#8751D5 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.194 H 298.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8751D5
RGBrgb(135, 81, 213)
HSLhsl(265, 61%, 58%)
HSVhsv(265, 62%, 84%)
CMYKcmyk(36.6%, 62%, 0%, 16.5%)
CIE-LABlab(46.76, 49.58, -59.91)
CIE-LCHlch(46.76, 77.77, 309.61°)
OKLaboklab(56.24% 0.0937 -0.1704)
OKLCHoklch(56.24% 0.194 298.8)
XYZxyz(24.9414, 15.8396, 64.6812)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751D5 #9FD551
analogous
#515DD5 #8751D5 #C951D5
triadic
#8751D5 #D58751 #51D587
tetradic
#8751D5 #D5515D #9FD551 #51D5C9
square
#8751D5 #D5515D #9FD551 #51D5C9
split-complementary
#8751D5 #D5C951 #5DD551
monochromatic
#4C218A #672DBC #8751D5 #A982E1 #CBB4ED

Accessibility & contrast

On white

5.04
#8751D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8751D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751D5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751D5#FFFFFF#000000##FFFFFF
##8751D51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#166ED2
Tritanopia (blue-blind)
#756E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8751d5;
/* rgb */ color: rgb(135, 81, 213);
/* oklch */ color: oklch(56.2% 0.194 298.8);
Tailwind
colors: {
  custom: {
    50: '#af84e3',
    500: '#8751d5',
    950: '#000000',
  },
}
SCSS
$custom: #8751d5;
$custom-light: #af84e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8751d5",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 264.545,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.19445,
    "h": 298.8
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#8751D5
secondary
#C6DBA6
accent
#E444A3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8751D5

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

Preview Lab → · Contrast checker → · Palette generator →

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