#8754CD#8754CD

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

Color values

HEX#8754CD
RGBrgb(135, 84, 205)
HSLhsl(265, 55%, 57%)
HSVhsv(265, 59%, 80%)
CMYKcmyk(34.1%, 59%, 0%, 19.6%)
CIE-LABlab(46.84, 45.94, -55.20)
CIE-LCHlch(46.84, 71.82, 309.77°)
OKLaboklab(56.13% 0.0905 -0.1565)
OKLCHoklch(56.13% 0.181 300)
XYZxyz(24.1788, 15.8991, 59.5408)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754CD #9ACD54
analogous
#545ECD #8754CD #C354CD
triadic
#8754CD #CD8754 #54CD87
tetradic
#8754CD #CD545E #9ACD54 #54CDC3
square
#8754CD #CD545E #9ACD54 #54CDC3
split-complementary
#8754CD #CDC354 #5ECD54
monochromatic
#4C2681 #6834B0 #8754CD #A883DB #C9B3E9

Accessibility & contrast

On white

5.02
#8754CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8754CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754CD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754CD#FFFFFF#000000##FFFFFF
##8754CD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106FD1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#786D88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8754cd;
/* rgb */ color: rgb(135, 84, 205);
/* oklch */ color: oklch(56.1% 0.181 300.0);
Tailwind
colors: {
  custom: {
    50: '#ae86dd',
    500: '#8754cd',
    950: '#000000',
  },
}
SCSS
$custom: #8754cd;
$custom-light: #ae86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8754cd",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 265.289,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5613,
    "c": 0.18082,
    "h": 300
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#8754CD
secondary
#C2D7A6
accent
#DE4AA0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8754CD

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

Preview Lab → · Contrast checker → · Palette generator →

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