#8754D7#8754D7

#8754D7 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.193 H 297.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8754D7
RGBrgb(135, 84, 215)
HSLhsl(263, 62%, 59%)
HSVhsv(263, 61%, 84%)
CMYKcmyk(37.2%, 60.9%, 0%, 15.7%)
CIE-LABlab(47.49, 48.49, -59.88)
CIE-LCHlch(47.49, 77.05, 309.00°)
OKLaboklab(56.81% 0.0902 -0.1703)
OKLCHoklch(56.81% 0.193 297.9)
XYZxyz(25.4246, 16.3975, 66.1023)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754D7 #A4D754
analogous
#5462D7 #8754D7 #C854D7
triadic
#8754D7 #D78754 #54D787
tetradic
#8754D7 #D75462 #A4D754 #54D7C8
square
#8754D7 #D75462 #A4D754 #54D7C8
split-complementary
#8754D7 #D7C854 #62D754
monochromatic
#4C218F #672DC1 #8754D7 #AA86E3 #CDB7EE

Accessibility & contrast

On white

4.91
#8754D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8754D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754D7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754D7#FFFFFF#000000##FFFFFF
##8754D71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#1A6FD4
Tritanopia (blue-blind)
#74718E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8754d7;
/* rgb */ color: rgb(135, 84, 215);
/* oklch */ color: oklch(56.8% 0.193 297.9);
Tailwind
colors: {
  custom: {
    50: '#af86e4',
    500: '#8754d7',
    950: '#000000',
  },
}
SCSS
$custom: #8754d7;
$custom-light: #af86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8754d7",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 263.359,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56811,
    "c": 0.19269,
    "h": 297.9
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

primary
#8754D7
secondary
#C9DDA9
accent
#E543A6
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8754D7

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

Preview Lab → · Contrast checker → · Palette generator →

#8754D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva