#8751D9#8751D9

#8751D9 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.199 H 298.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8751D9
RGBrgb(135, 81, 217)
HSLhsl(264, 64%, 58%)
HSVhsv(264, 63%, 85%)
CMYKcmyk(37.8%, 62.7%, 0%, 14.9%)
CIE-LABlab(47.03, 50.60, -61.76)
CIE-LCHlch(47.03, 79.84, 309.32°)
OKLaboklab(56.52% 0.0935 -0.1758)
OKLCHoklch(56.52% 0.199 298)
XYZxyz(25.4553, 16.0451, 67.3881)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751D9 #A3D951
analogous
#515FD9 #8751D9 #CB51D9
triadic
#8751D9 #D98751 #51D987
tetradic
#8751D9 #D9515F #A3D951 #51D9CB
square
#8751D9 #D9515F #A3D951 #51D9CB
split-complementary
#8751D9 #D9CB51 #5FD951
monochromatic
#4C1F90 #672AC2 #8751D9 #AA83E4 #CCB5EF

Accessibility & contrast

On white

4.99
#8751D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8751D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751D9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751D9#FFFFFF#000000##FFFFFF
##8751D91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#056ED6
Tritanopia (blue-blind)
#746F8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8751d9;
/* rgb */ color: rgb(135, 81, 217);
/* oklch */ color: oklch(56.5% 0.199 298.0);
Tailwind
colors: {
  custom: {
    50: '#af85e6',
    500: '#8751d9',
    950: '#000000',
  },
}
SCSS
$custom: #8751d9;
$custom-light: #af85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8751d9",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 263.824,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56521,
    "c": 0.1991,
    "h": 298
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#8751D9
secondary
#C8DEA8
accent
#E741A5
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8751D9

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

Preview Lab → · Contrast checker → · Palette generator →

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