#8B54DD#8B54DD

#8B54DD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.200 H 298.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8B54DD
RGBrgb(139, 84, 221)
HSLhsl(264, 67%, 60%)
HSVhsv(264, 62%, 87%)
CMYKcmyk(37.1%, 62%, 0%, 13.3%)
CIE-LABlab(48.32, 50.89, -61.93)
CIE-LCHlch(48.32, 80.16, 309.41°)
OKLaboklab(57.64% 0.0951 -0.1762)
OKLCHoklch(57.64% 0.2 298.4)
XYZxyz(26.8657, 17.0497, 70.2681)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54DD #A6DD54
analogous
#5461DD #8B54DD #D054DD
triadic
#8B54DD #DD8B54 #54DD8B
tetradic
#8B54DD #DD5461 #A6DD54 #54DDD0
square
#8B54DD #DD5461 #A6DD54 #54DDD0
split-complementary
#8B54DD #DDD054 #61DD54
monochromatic
#4F1E98 #6A28CB #8B54DD #AE87E7 #D0BAF1

Accessibility & contrast

On white

4.76
#8B54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8B54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54DD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54DD#FFFFFF#000000##FFFFFF
##8B54DD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#1371DA
Tritanopia (blue-blind)
#787291
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b54dd;
/* rgb */ color: rgb(139, 84, 221);
/* oklch */ color: oklch(57.6% 0.200 298.4);
Tailwind
colors: {
  custom: {
    50: '#b287e8',
    500: '#8b54dd',
    950: '#000000',
  },
}
SCSS
$custom: #8b54dd;
$custom-light: #b287e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54dd",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 264.088,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5764,
    "c": 0.20022,
    "h": 298.4
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#8B54DD
secondary
#CCE1AC
accent
#EA3EA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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