#8751DF#8751DF

#8751DF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.206 H 296.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8751DF
RGBrgb(135, 81, 223)
HSLhsl(263, 69%, 60%)
HSVhsv(263, 64%, 87%)
CMYKcmyk(39.5%, 63.7%, 0%, 12.5%)
CIE-LABlab(47.45, 52.13, -64.51)
CIE-LCHlch(47.45, 82.94, 308.94°)
OKLaboklab(56.95% 0.093 -0.1839)
OKLCHoklch(56.95% 0.206 296.8)
XYZxyz(26.2499, 16.3630, 71.5731)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751DF #A9DF51
analogous
#5162DF #8751DF #CE51DF
triadic
#8751DF #DF8751 #51DF87
tetradic
#8751DF #DF5162 #A9DF51 #51DFCE
square
#8751DF #DF5162 #A9DF51 #51DFCE
split-complementary
#8751DF #DFCE51 #62DF51
monochromatic
#4C1C99 #6526CD #8751DF #AB85E9 #CEB8F2

Accessibility & contrast

On white

4.92
#8751DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8751DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751DF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751DF#FFFFFF#000000##FFFFFF
##8751DF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#717191
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8751df;
/* rgb */ color: rgb(135, 81, 223);
/* oklch */ color: oklch(57.0% 0.206 296.8);
Tailwind
colors: {
  custom: {
    50: '#b085ea',
    500: '#8751df',
    950: '#000000',
  },
}
SCSS
$custom: #8751df;
$custom-light: #b085ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8751df",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 262.817,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56951,
    "c": 0.20604,
    "h": 296.8
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#8751DF
secondary
#CCE1AA
accent
#EC3CA9
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8751DF

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

Preview Lab → · Contrast checker → · Palette generator →

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