#8754D8#8754D8

#8754D8 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.9% C 0.194 H 297.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8754D8
RGBrgb(135, 84, 216)
HSLhsl(263, 63%, 59%)
HSVhsv(263, 61%, 85%)
CMYKcmyk(37.5%, 61.1%, 0%, 15.3%)
CIE-LABlab(47.56, 48.75, -60.34)
CIE-LCHlch(47.56, 77.57, 308.93°)
OKLaboklab(56.88% 0.0901 -0.1716)
OKLCHoklch(56.88% 0.194 297.7)
XYZxyz(25.5535, 16.4490, 66.7811)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754D8 #A5D854
analogous
#5463D8 #8754D8 #C954D8
triadic
#8754D8 #D88754 #54D887
tetradic
#8754D8 #D85463 #A5D854 #54D8C9
square
#8754D8 #D85463 #A5D854 #54D8C9
split-complementary
#8754D8 #D8C954 #63D854
monochromatic
#4C2191 #662CC2 #8754D8 #AA86E3 #CDB8EF

Accessibility & contrast

On white

4.90
#8754D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8754D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754D8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754D8#FFFFFF#000000##FFFFFF
##8754D81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#176FD5
Tritanopia (blue-blind)
#74718E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8754d8;
/* rgb */ color: rgb(135, 84, 216);
/* oklch */ color: oklch(56.9% 0.194 297.7);
Tailwind
colors: {
  custom: {
    50: '#af86e5',
    500: '#8754d8',
    950: '#000000',
  },
}
SCSS
$custom: #8754d8;
$custom-light: #af86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8754d8",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 263.182,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.19387,
    "h": 297.7
  },
  "luminance": 0.16449
}

Semantic roles & 50–950 ramp

primary
#8754D8
secondary
#CADEAA
accent
#E642A7
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8754D8

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

Preview Lab → · Contrast checker → · Palette generator →

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