#8D54E8#8D54E8

#8D54E8 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.213 H 297.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D54E8
RGBrgb(141, 84, 232)
HSLhsl(263, 76%, 62%)
HSVhsv(263, 64%, 91%)
CMYKcmyk(39.2%, 63.8%, 0%, 9%)
CIE-LABlab(49.29, 54.09, -66.58)
CIE-LCHlch(49.29, 85.79, 309.09°)
OKLaboklab(58.63% 0.0969 -0.1898)
OKLCHoklch(58.63% 0.213 297)
XYZxyz(28.7166, 17.8291, 78.2567)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54E8 #AFE854
analogous
#5465E8 #8D54E8 #D754E8
triadic
#8D54E8 #E88D54 #54E88D
tetradic
#8D54E8 #E85465 #AFE854 #54E8D7
square
#8D54E8 #E85465 #AFE854 #54E8D7
split-complementary
#8D54E8 #E8D754 #65E854
monochromatic
#5017AB #691EE1 #8D54E8 #B18AEF #D5C0F7

Accessibility & contrast

On white

4.60
#8D54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8D54E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54E8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54E8#FFFFFF#000000##FFFFFF
##8D54E81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#777697
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d54e8;
/* rgb */ color: rgb(141, 84, 232);
/* oklch */ color: oklch(58.6% 0.213 297.0);
Tailwind
colors: {
  custom: {
    50: '#b487f0',
    500: '#8d54e8',
    950: '#000000',
  },
}
SCSS
$custom: #8d54e8;
$custom-light: #b487f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54e8",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 263.108,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.21309,
    "h": 297
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#8D54E8
secondary
#D2E7B1
accent
#D80D8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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