#8D4BE3#8D4BE3

#8D4BE3 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.219 H 299.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D4BE3
RGBrgb(141, 75, 227)
HSLhsl(266, 73%, 59%)
HSVhsv(266, 67%, 89%)
CMYKcmyk(37.9%, 67%, 0%, 11%)
CIE-LABlab(47.29, 57.35, -67.00)
CIE-LCHlch(47.29, 88.19, 310.56°)
OKLaboklab(57.08% 0.1069 -0.191)
OKLCHoklch(57.08% 0.219 299.2)
XYZxyz(27.3622, 16.2406, 74.3513)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BE3 #A1E34B
analogous
#4B55E3 #8D4BE3 #D94BE3
triadic
#8D4BE3 #E38D4B #4BE38D
tetradic
#8D4BE3 #E34B55 #A1E34B #4BE3D9
square
#8D4BE3 #E34B55 #A1E34B #4BE3D9
split-complementary
#8D4BE3 #E3D94B #55E34B
monochromatic
#51189B #6D20D0 #8D4BE3 #AF80EB #D0B5F3

Accessibility & contrast

On white

4.94
#8D4BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8D4BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BE3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BE3#FFFFFF#000000##FFFFFF
##8D4BE31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#796F91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4be3;
/* rgb */ color: rgb(141, 75, 227);
/* oklch */ color: oklch(57.1% 0.219 299.2);
Tailwind
colors: {
  custom: {
    50: '#b482ed',
    500: '#8d4be3',
    950: '#000000',
  },
}
SCSS
$custom: #8d4be3;
$custom-light: #b482ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4be3",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 266.053,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.21887,
    "h": 299.2
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#8D4BE3
secondary
#C9E3A7
accent
#F038A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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