#8754CB#8754CB

#8754CB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.178 H 300.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8754CB
RGBrgb(135, 84, 203)
HSLhsl(266, 53%, 56%)
HSVhsv(266, 59%, 80%)
CMYKcmyk(33.5%, 58.6%, 0%, 20.4%)
CIE-LABlab(46.72, 45.44, -54.25)
CIE-LCHlch(46.72, 70.77, 309.95°)
OKLaboklab(56% 0.0906 -0.1537)
OKLCHoklch(56% 0.178 300.5)
XYZxyz(23.9389, 15.8032, 58.2775)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754CB #98CB54
analogous
#545DCB #8754CB #C254CB
triadic
#8754CB #CB8754 #54CB87
tetradic
#8754CB #CB545D #98CB54 #54CBC2
square
#8754CB #CB545D #98CB54 #54CBC2
split-complementary
#8754CB #CBC254 #5DCB54
monochromatic
#4C267E #6835AD #8754CB #A883D9 #C9B2E8

Accessibility & contrast

On white

5.05
#8754CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8754CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754CB#FFFFFF#000000##FFFFFF
##8754CB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#796D87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8754cb;
/* rgb */ color: rgb(135, 84, 203);
/* oklch */ color: oklch(56.0% 0.178 300.5);
Tailwind
colors: {
  custom: {
    50: '#ae86db',
    500: '#8754cb',
    950: '#000000',
  },
}
SCSS
$custom: #8754cb;
$custom-light: #ae86db;
$custom-dark: #000000;
JSON
{
  "hex": "#8754cb",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 265.714,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55996,
    "c": 0.17844,
    "h": 300.5
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#8754CB
secondary
#C1D6A5
accent
#DD4B9E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8754CB

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

Preview Lab → · Contrast checker → · Palette generator →

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