#8B54DE#8B54DE

#8B54DE is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.201 H 298.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8B54DE
RGBrgb(139, 84, 222)
HSLhsl(264, 68%, 60%)
HSVhsv(264, 62%, 87%)
CMYKcmyk(37.4%, 62.2%, 0%, 12.9%)
CIE-LABlab(48.39, 51.14, -62.39)
CIE-LCHlch(48.39, 80.67, 309.34°)
OKLaboklab(57.71% 0.095 -0.1775)
OKLCHoklch(57.71% 0.201 298.2)
XYZxyz(26.9993, 17.1032, 70.9719)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54DE #A7DE54
analogous
#5462DE #8B54DE #D054DE
triadic
#8B54DE #DE8B54 #54DE8B
tetradic
#8B54DE #DE5462 #A7DE54 #54DED0
square
#8B54DE #DE5462 #A7DE54 #54DED0
split-complementary
#8B54DE #DED054 #62DE54
monochromatic
#4F1E9A #6A28CD #8B54DE #AE87E8 #D1BBF2

Accessibility & contrast

On white

4.75
#8B54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8B54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54DE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54DE#FFFFFF#000000##FFFFFF
##8B54DE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0F71DB
Tritanopia (blue-blind)
#787391
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b54de;
/* rgb */ color: rgb(139, 84, 222);
/* oklch */ color: oklch(57.7% 0.201 298.2);
Tailwind
colors: {
  custom: {
    50: '#b287e9',
    500: '#8b54de',
    950: '#000000',
  },
}
SCSS
$custom: #8b54de;
$custom-light: #b287e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54de",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 263.913,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.20138,
    "h": 298.2
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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