#8C54DA#8C54DA

#8C54DA is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.5% C 0.197 H 299.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8C54DA
RGBrgb(140, 84, 218)
HSLhsl(265, 64%, 59%)
HSVhsv(265, 61%, 85%)
CMYKcmyk(35.8%, 61.5%, 0%, 14.5%)
CIE-LABlab(48.23, 50.34, -60.37)
CIE-LCHlch(48.23, 78.60, 309.83°)
OKLaboklab(57.54% 0.0966 -0.1716)
OKLCHoklch(57.54% 0.197 299.4)
XYZxyz(26.6373, 16.9778, 68.1897)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C54DA #A2DA54
analogous
#545FDA #8C54DA #CF54DA
triadic
#8C54DA #DA8C54 #54DA8C
tetradic
#8C54DA #DA545F #A2DA54 #54DACF
square
#8C54DA #DA545F #A2DA54 #54DACF
split-complementary
#8C54DA #DACF54 #5FDA54
monochromatic
#502094 #6C2BC6 #8C54DA #AE86E5 #D0B9F0

Accessibility & contrast

On white

4.78
#8C54DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8C54DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C54DA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C54DA#FFFFFF#000000##FFFFFF
##8C54DA1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#1E71D7
Tritanopia (blue-blind)
#7B718F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8c54da;
/* rgb */ color: rgb(140, 84, 218);
/* oklch */ color: oklch(57.5% 0.197 299.4);
Tailwind
colors: {
  custom: {
    50: '#b287e6',
    500: '#8c54da',
    950: '#000000',
  },
}
SCSS
$custom: #8c54da;
$custom-light: #b287e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c54da",
  "rgb": {
    "r": 140,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 265.075,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.19689,
    "h": 299.4
  },
  "luminance": 0.16978
}

Semantic roles & 50–950 ramp

primary
#8C54DA
secondary
#C9DFAB
accent
#E740A2
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8C54DA

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

Preview Lab → · Contrast checker → · Palette generator →

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