#8754E3#8754E3

#8754E3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.207 H 295.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8754E3
RGBrgb(135, 84, 227)
HSLhsl(261, 72%, 61%)
HSVhsv(261, 63%, 89%)
CMYKcmyk(40.5%, 63%, 0%, 11%)
CIE-LABlab(48.31, 51.60, -65.38)
CIE-LCHlch(48.31, 83.29, 308.28°)
OKLaboklab(57.66% 0.0894 -0.1864)
OKLCHoklch(57.66% 0.207 295.6)
XYZxyz(27.0235, 17.0370, 74.5228)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754E3 #B0E354
analogous
#5468E3 #8754E3 #CF54E3
triadic
#8754E3 #E38754 #54E387
tetradic
#8754E3 #E35468 #B0E354 #54E3CF
square
#8754E3 #E35468 #B0E354 #54E3CF
split-complementary
#8754E3 #E3CF54 #68E354
monochromatic
#4B1BA2 #6323D7 #8754E3 #AC89EC #D1BDF4

Accessibility & contrast

On white

4.76
#8754E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8754E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754E3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754E3#FFFFFF#000000##FFFFFF
##8754E31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#6F7594
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8754e3;
/* rgb */ color: rgb(135, 84, 227);
/* oklch */ color: oklch(57.7% 0.207 295.6);
Tailwind
colors: {
  custom: {
    50: '#b087ed',
    500: '#8754e3',
    950: '#000000',
  },
}
SCSS
$custom: #8754e3;
$custom-light: #b087ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8754e3",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 261.399,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.20676,
    "h": 295.6
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#8754E3
secondary
#D1E4AE
accent
#D4128F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8754E3

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

Preview Lab → · Contrast checker → · Palette generator →

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