#8754CF#8754CF

#8754CF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.183 H 299.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8754CF
RGBrgb(135, 84, 207)
HSLhsl(265, 56%, 57%)
HSVhsv(265, 59%, 81%)
CMYKcmyk(34.8%, 59.4%, 0%, 18.8%)
CIE-LABlab(46.97, 46.45, -56.14)
CIE-LCHlch(46.97, 72.87, 309.60°)
OKLaboklab(56.26% 0.0905 -0.1593)
OKLCHoklch(56.26% 0.183 299.6)
XYZxyz(24.4217, 15.9963, 60.8203)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754CF #9CCF54
analogous
#545FCF #8754CF #C454CF
triadic
#8754CF #CF8754 #54CF87
tetradic
#8754CF #CF545F #9CCF54 #54CFC4
square
#8754CF #CF545F #9CCF54 #54CFC4
split-complementary
#8754CF #CFC454 #5FCF54
monochromatic
#4C2584 #6832B3 #8754CF #A984DC #CAB4EA

Accessibility & contrast

On white

5.00
#8754CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8754CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754CF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754CF#FFFFFF#000000##FFFFFF
##8754CF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086FD3
Deuteranopia (green-blind)
#2A6ECC
Tritanopia (blue-blind)
#776E89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8754cf;
/* rgb */ color: rgb(135, 84, 207);
/* oklch */ color: oklch(56.3% 0.183 299.6);
Tailwind
colors: {
  custom: {
    50: '#ae86de',
    500: '#8754cf',
    950: '#000000',
  },
}
SCSS
$custom: #8754cf;
$custom-light: #ae86de;
$custom-dark: #000000;
JSON
{
  "hex": "#8754cf",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 264.878,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.1832,
    "h": 299.6
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#8754CF
secondary
#C4D8A6
accent
#DF48A1
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8754CF

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

Preview Lab → · Contrast checker → · Palette generator →

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