#8754CC#8754CC

#8754CC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.180 H 300.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8754CC
RGBrgb(135, 84, 204)
HSLhsl(266, 54%, 56%)
HSVhsv(266, 59%, 80%)
CMYKcmyk(33.8%, 58.8%, 0%, 20%)
CIE-LABlab(46.78, 45.69, -54.73)
CIE-LCHlch(46.78, 71.29, 309.86°)
OKLaboklab(56.06% 0.0905 -0.1551)
OKLCHoklch(56.06% 0.18 300.3)
XYZxyz(24.0585, 15.8510, 58.9071)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754CC #99CC54
analogous
#545DCC #8754CC #C354CC
triadic
#8754CC #CC8754 #54CC87
tetradic
#8754CC #CC545D #99CC54 #54CCC3
square
#8754CC #CC545D #99CC54 #54CCC3
split-complementary
#8754CC #CCC354 #5DCC54
monochromatic
#4C2680 #6834AF #8754CC #A883DA #C9B2E8

Accessibility & contrast

On white

5.04
#8754CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8754CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754CC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754CC#FFFFFF#000000##FFFFFF
##8754CC1.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)
#136ED0
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#786D88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8754cc;
/* rgb */ color: rgb(135, 84, 204);
/* oklch */ color: oklch(56.1% 0.180 300.3);
Tailwind
colors: {
  custom: {
    50: '#ae86dc',
    500: '#8754cc',
    950: '#000000',
  },
}
SCSS
$custom: #8754cc;
$custom-light: #ae86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8754cc",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 265.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.17963,
    "h": 300.3
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#8754CC
secondary
#C2D7A5
accent
#DD4A9F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8754CC

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

Preview Lab → · Contrast checker → · Palette generator →

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