#8754DC#8754DC

#8754DC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.2% C 0.199 H 296.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8754DC
RGBrgb(135, 84, 220)
HSLhsl(263, 66%, 60%)
HSVhsv(263, 62%, 86%)
CMYKcmyk(38.6%, 61.8%, 0%, 13.7%)
CIE-LABlab(47.83, 49.78, -62.19)
CIE-LCHlch(47.83, 79.66, 308.68°)
OKLaboklab(57.16% 0.0899 -0.1771)
OKLCHoklch(57.16% 0.199 296.9)
XYZxyz(26.0769, 16.6584, 69.5378)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754DC #A9DC54
analogous
#5465DC #8754DC #CB54DC
triadic
#8754DC #DC8754 #54DC87
tetradic
#8754DC #DC5465 #A9DC54 #54DCCB
square
#8754DC #DC5465 #A9DC54 #54DCCB
split-complementary
#8754DC #DCCB54 #65DC54
monochromatic
#4C1F97 #6529CA #8754DC #AB87E6 #CEBAF1

Accessibility & contrast

On white

4.85
#8754DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8754DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754DC#FFFFFF#000000##FFFFFF
##8754DC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0770D9
Tritanopia (blue-blind)
#727290
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8754dc;
/* rgb */ color: rgb(135, 84, 220);
/* oklch */ color: oklch(57.2% 0.199 296.9);
Tailwind
colors: {
  custom: {
    50: '#af87e8',
    500: '#8754dc',
    950: '#000000',
  },
}
SCSS
$custom: #8754dc;
$custom-light: #af87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8754dc",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 262.5,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.19857,
    "h": 296.9
  },
  "luminance": 0.16659
}

Semantic roles & 50–950 ramp

primary
#8754DC
secondary
#CCE0AC
accent
#E93FA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8754DC

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

Preview Lab → · Contrast checker → · Palette generator →

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