#8D54CC#8D54CC

#8D54CC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.181 H 303.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8D54CC
RGBrgb(141, 84, 204)
HSLhsl(269, 54%, 56%)
HSVhsv(269, 59%, 80%)
CMYKcmyk(30.9%, 58.8%, 0%, 20%)
CIE-LABlab(47.45, 47.10, -53.62)
CIE-LCHlch(47.45, 71.37, 311.30°)
OKLaboklab(56.7% 0.0984 -0.1517)
OKLCHoklch(56.7% 0.181 303)
XYZxyz(25.0514, 16.3630, 58.9536)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54CC #93CC54
analogous
#5457CC #8D54CC #C954CC
triadic
#8D54CC #CC8D54 #54CC8D
tetradic
#8D54CC #CC5457 #93CC54 #54CCC9
square
#8D54CC #CC5457 #93CC54 #54CCC9
split-complementary
#8D54CC #CCC954 #57CC54
monochromatic
#512680 #6E34AF #8D54CC #AC83DA #CCB2E8

Accessibility & contrast

On white

4.92
#8D54CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8D54CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54CC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54CC#FFFFFF#000000##FFFFFF
##8D54CC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FD0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#816C88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d54cc;
/* rgb */ color: rgb(141, 84, 204);
/* oklch */ color: oklch(56.7% 0.181 303.0);
Tailwind
colors: {
  custom: {
    50: '#b287dc',
    500: '#8d54cc',
    950: '#000000',
  },
}
SCSS
$custom: #8d54cc;
$custom-light: #b287dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54cc",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 268.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56703,
    "c": 0.1808,
    "h": 303
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#8D54CC
secondary
#BFD7A5
accent
#DD4A98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D54CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8D54CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva