#8D4BE5#8D4BE5

#8D4BE5 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.221 H 298.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8D4BE5
RGBrgb(141, 75, 229)
HSLhsl(266, 75%, 60%)
HSVhsv(266, 67%, 90%)
CMYKcmyk(38.4%, 67.2%, 0%, 10.2%)
CIE-LABlab(47.43, 57.84, -67.90)
CIE-LCHlch(47.43, 89.20, 310.43°)
OKLaboklab(57.23% 0.1066 -0.1936)
OKLCHoklch(57.23% 0.221 298.8)
XYZxyz(27.6399, 16.3517, 75.8135)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BE5 #A3E54B
analogous
#4B56E5 #8D4BE5 #DA4BE5
triadic
#8D4BE5 #E58D4B #4BE58D
tetradic
#8D4BE5 #E54B56 #A3E54B #4BE5DA
square
#8D4BE5 #E54B56 #A3E54B #4BE5DA
split-complementary
#8D4BE5 #E5DA4B #56E54B
monochromatic
#51179F #6C1FD4 #8D4BE5 #AF80ED #D1B6F4

Accessibility & contrast

On white

4.92
#8D4BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8D4BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BE5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BE5#FFFFFF#000000##FFFFFF
##8D4BE51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#786F92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4be5;
/* rgb */ color: rgb(141, 75, 229);
/* oklch */ color: oklch(57.2% 0.221 298.8);
Tailwind
colors: {
  custom: {
    50: '#b582ee',
    500: '#8d4be5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4be5;
$custom-light: #b582ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4be5",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 265.714,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57225,
    "c": 0.22104,
    "h": 298.8
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#8D4BE5
secondary
#CAE4A8
accent
#F136A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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