#8D54E7#8D54E7

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

Color values

HEX#8D54E7
RGBrgb(141, 84, 231)
HSLhsl(263, 75%, 62%)
HSVhsv(263, 64%, 91%)
CMYKcmyk(39%, 63.6%, 0%, 9.4%)
CIE-LABlab(49.22, 53.84, -66.13)
CIE-LCHlch(49.22, 85.28, 309.15°)
OKLaboklab(58.55% 0.097 -0.1885)
OKLCHoklch(58.55% 0.212 297.2)
XYZxyz(28.5749, 17.7724, 77.5107)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54E7 #AEE754
analogous
#5465E7 #8D54E7 #D654E7
triadic
#8D54E7 #E78D54 #54E78D
tetradic
#8D54E7 #E75465 #AEE754 #54E7D6
square
#8D54E7 #E75465 #AEE754 #54E7D6
split-complementary
#8D54E7 #E7D654 #65E754
monochromatic
#5018A9 #691FDF #8D54E7 #B18AEF #D5BFF6

Accessibility & contrast

On white

4.61
#8D54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8D54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54E7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54E7#FFFFFF#000000##FFFFFF
##8D54E71.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#777696
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d54e7;
/* rgb */ color: rgb(141, 84, 231);
/* oklch */ color: oklch(58.6% 0.212 297.2);
Tailwind
colors: {
  custom: {
    50: '#b487ef',
    500: '#8d54e7',
    950: '#000000',
  },
}
SCSS
$custom: #8d54e7;
$custom-light: #b487ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54e7",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 263.265,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.21195,
    "h": 297.2
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#8D54E7
secondary
#D2E7B0
accent
#D80E89
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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