#8D54EB#8D54EB

#8D54EB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.217 H 296.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D54EB
RGBrgb(141, 84, 235)
HSLhsl(263, 79%, 63%)
HSVhsv(263, 64%, 92%)
CMYKcmyk(40%, 64.3%, 0%, 7.8%)
CIE-LABlab(49.50, 54.86, -67.93)
CIE-LCHlch(49.50, 87.32, 308.92°)
OKLaboklab(58.84% 0.0966 -0.1938)
OKLCHoklch(58.84% 0.217 296.5)
XYZxyz(29.1463, 18.0010, 80.5201)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54EB #B2EB54
analogous
#5466EB #8D54EB #D954EB
triadic
#8D54EB #EB8D54 #54EB8D
tetradic
#8D54EB #EB5466 #B2EB54 #54EBD9
square
#8D54EB #EB5466 #B2EB54 #54EBD9
split-complementary
#8D54EB #EBD954 #66EB54
monochromatic
#4F15B0 #681DE5 #8D54EB #B28BF1 #D6C2F8

Accessibility & contrast

On white

4.56
#8D54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8D54EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D54EB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54EB#FFFFFF#000000##000000
##8D54EB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#757798
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d54eb;
/* rgb */ color: rgb(141, 84, 235);
/* oklch */ color: oklch(58.8% 0.217 296.5);
Tailwind
colors: {
  custom: {
    50: '#b587f2',
    500: '#8d54eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d54eb;
$custom-light: #b587f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54eb",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 262.649,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.21651,
    "h": 296.5
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#8D54EB
secondary
#D4E9B2
accent
#DB0A8C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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