#8D4BE1#8D4BE1

#8D4BE1 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.217 H 299.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D4BE1
RGBrgb(141, 75, 225)
HSLhsl(266, 71%, 59%)
HSVhsv(266, 67%, 88%)
CMYKcmyk(37.3%, 66.7%, 0%, 11.8%)
CIE-LABlab(47.15, 56.86, -66.10)
CIE-LCHlch(47.15, 87.19, 310.70°)
OKLaboklab(56.93% 0.1071 -0.1883)
OKLCHoklch(56.93% 0.217 299.6)
XYZxyz(27.0878, 16.1308, 72.9060)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BE1 #9FE14B
analogous
#4B54E1 #8D4BE1 #D84BE1
triadic
#8D4BE1 #E18D4B #4BE18D
tetradic
#8D4BE1 #E14B54 #9FE14B #4BE1D8
square
#8D4BE1 #E14B54 #9FE14B #4BE1D8
split-complementary
#8D4BE1 #E1D84B #54E14B
monochromatic
#511998 #6D22CD #8D4BE1 #AE7FEA #CFB4F2

Accessibility & contrast

On white

4.97
#8D4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8D4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BE1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BE1#FFFFFF#000000##FFFFFF
##8D4BE11.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#7A6E90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4be1;
/* rgb */ color: rgb(141, 75, 225);
/* oklch */ color: oklch(56.9% 0.217 299.6);
Tailwind
colors: {
  custom: {
    50: '#b482eb',
    500: '#8d4be1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4be1;
$custom-light: #b482eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4be1",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 266.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.21668,
    "h": 299.6
  },
  "luminance": 0.16131
}

Semantic roles & 50–950 ramp

primary
#8D4BE1
secondary
#C7E1A6
accent
#EE3A9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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