#8754E5#8754E5

#8754E5 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.209 H 295.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8754E5
RGBrgb(135, 84, 229)
HSLhsl(261, 74%, 61%)
HSVhsv(261, 63%, 90%)
CMYKcmyk(41%, 63.3%, 0%, 10.2%)
CIE-LABlab(48.45, 52.12, -66.29)
CIE-LCHlch(48.45, 84.32, 308.18°)
OKLaboklab(57.81% 0.0892 -0.1891)
OKLCHoklch(57.81% 0.209 295.2)
XYZxyz(27.3011, 17.1481, 75.9850)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754E5 #B2E554
analogous
#546AE5 #8754E5 #CF54E5
triadic
#8754E5 #E58754 #54E587
tetradic
#8754E5 #E5546A #B2E554 #54E5CF
square
#8754E5 #E5546A #B2E554 #54E5CF
split-complementary
#8754E5 #E5CF54 #6AE554
monochromatic
#4A19A5 #6221DB #8754E5 #AC89ED #D2BEF5

Accessibility & contrast

On white

4.74
#8754E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8754E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754E5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754E5#FFFFFF#000000##FFFFFF
##8754E51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#6E7595
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8754e5;
/* rgb */ color: rgb(135, 84, 229);
/* oklch */ color: oklch(57.8% 0.209 295.2);
Tailwind
colors: {
  custom: {
    50: '#b087ee',
    500: '#8754e5',
    950: '#000000',
  },
}
SCSS
$custom: #8754e5;
$custom-light: #b087ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8754e5",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 261.103,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.2091,
    "h": 295.2
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#8754E5
secondary
#D2E6AF
accent
#D61090
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8754E5

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

Preview Lab → · Contrast checker → · Palette generator →

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