#8D54BA#8D54BA

#8D54BA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.160 H 307.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D54BA
RGBrgb(141, 84, 186)
HSLhsl(274, 43%, 53%)
HSVhsv(274, 55%, 73%)
CMYKcmyk(24.2%, 54.8%, 0%, 27.1%)
CIE-LABlab(46.38, 42.78, -44.91)
CIE-LCHlch(46.38, 62.03, 313.61°)
OKLaboklab(55.57% 0.098 -0.1262)
OKLCHoklch(55.57% 0.16 307.8)
XYZxyz(23.0160, 15.5488, 48.2336)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54BA #81BA54
analogous
#5A54BA #8D54BA #BA54B4
triadic
#8D54BA #BA8D54 #54BA8D
tetradic
#8D54BA #BA5A54 #81BA54 #54B4BA
square
#8D54BA #BA5A54 #81BA54 #54B4BA
split-complementary
#8D54BA #B4BA54 #54BA5A
monochromatic
#4D2A69 #6E3C95 #8D54BA #AA80CC #C7ABDD

Accessibility & contrast

On white

5.11
#8D54BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8D54BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54BA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54BA#FFFFFF#000000##FFFFFF
##8D54BA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBD
Deuteranopia (green-blind)
#476FB7
Tritanopia (blue-blind)
#86667F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d54ba;
/* rgb */ color: rgb(141, 84, 186);
/* oklch */ color: oklch(55.6% 0.160 307.8);
Tailwind
colors: {
  custom: {
    50: '#b186cf',
    500: '#8d54ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d54ba;
$custom-light: #b186cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54ba",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 273.529,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55573,
    "c": 0.15978,
    "h": 307.8
  },
  "luminance": 0.15549
}

Semantic roles & 50–950 ramp

primary
#8D54BA
secondary
#B2CB9F
accent
#D2568D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D54BA

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

Preview Lab → · Contrast checker → · Palette generator →

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