#8D54DF#8D54DF

#8D54DF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.203 H 298.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D54DF
RGBrgb(141, 84, 223)
HSLhsl(265, 68%, 60%)
HSVhsv(265, 62%, 87%)
CMYKcmyk(36.8%, 62.3%, 0%, 12.5%)
CIE-LABlab(48.67, 51.82, -62.49)
CIE-LCHlch(48.67, 81.18, 309.67°)
OKLaboklab(57.99% 0.0976 -0.1778)
OKLCHoklch(57.99% 0.203 298.8)
XYZxyz(27.4708, 17.3308, 71.6956)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54DF #A6DF54
analogous
#5461DF #8D54DF #D254DF
triadic
#8D54DF #DF8D54 #54DF8D
tetradic
#8D54DF #DF5461 #A6DF54 #54DFD2
square
#8D54DF #DF5461 #A6DF54 #54DFD2
split-complementary
#8D54DF #DFD254 #61DF54
monochromatic
#511D9C #6C27CF #8D54DF #AF88E9 #D2BBF2

Accessibility & contrast

On white

4.70
#8D54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8D54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54DF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54DF#FFFFFF#000000##FFFFFF
##8D54DF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#1272DC
Tritanopia (blue-blind)
#7A7392
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d54df;
/* rgb */ color: rgb(141, 84, 223);
/* oklch */ color: oklch(58.0% 0.203 298.8);
Tailwind
colors: {
  custom: {
    50: '#b487ea',
    500: '#8d54df',
    950: '#000000',
  },
}
SCSS
$custom: #8d54df;
$custom-light: #b487ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54df",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 264.604,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.2028,
    "h": 298.8
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#8D54DF
secondary
#CCE2AD
accent
#D01584
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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