#8D54CA#8D54CA

#8D54CA is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.6% C 0.178 H 303.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D54CA
RGBrgb(141, 84, 202)
HSLhsl(269, 53%, 56%)
HSVhsv(269, 58%, 79%)
CMYKcmyk(30.2%, 58.4%, 0%, 20.8%)
CIE-LABlab(47.32, 46.61, -52.67)
CIE-LCHlch(47.32, 70.33, 311.51°)
OKLaboklab(56.57% 0.0984 -0.1489)
OKLCHoklch(56.57% 0.178 303.5)
XYZxyz(24.8131, 16.2677, 57.6984)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54CA #91CA54
analogous
#5456CA #8D54CA #C854CA
triadic
#8D54CA #CA8D54 #54CA8D
tetradic
#8D54CA #CA5456 #91CA54 #54CAC8
square
#8D54CA #CA5456 #91CA54 #54CAC8
split-complementary
#8D54CA #CAC854 #56CA54
monochromatic
#50277D #6E35AC #8D54CA #AC83D8 #CBB1E7

Accessibility & contrast

On white

4.94
#8D54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8D54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54CA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54CA#FFFFFF#000000##FFFFFF
##8D54CA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#826C87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d54ca;
/* rgb */ color: rgb(141, 84, 202);
/* oklch */ color: oklch(56.6% 0.178 303.5);
Tailwind
colors: {
  custom: {
    50: '#b286db',
    500: '#8d54ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d54ca;
$custom-light: #b286db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54ca",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 268.983,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.17847,
    "h": 303.5
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#8D54CA
secondary
#BED5A5
accent
#DC4C96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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