#8D42BF#8D42BF

#8D42BF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.4% C 0.192 H 308.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8D42BF
RGBrgb(141, 66, 191)
HSLhsl(276, 49%, 50%)
HSVhsv(276, 65%, 75%)
CMYKcmyk(26.2%, 65.4%, 0%, 25.1%)
CIE-LABlab(43.24, 53.19, -52.85)
CIE-LCHlch(43.24, 74.98, 315.18°)
OKLaboklab(53.39% 0.1204 -0.1494)
OKLCHoklch(53.39% 0.192 308.9)
XYZxyz(22.3348, 13.3211, 50.6748)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D42BF #74BF42
analogous
#4E42BF #8D42BF #BF42B2
triadic
#8D42BF #BF8D42 #42BF8D
tetradic
#8D42BF #BF4E42 #74BF42 #42B2BF
square
#8D42BF #BF4E42 #74BF42 #42B2BF
split-complementary
#8D42BF #B2BF42 #42BF4E
monochromatic
#4A2265 #6C3292 #8D42BF #A970CE #C49DDE

Accessibility & contrast

On white

5.73
#8D42BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8D42BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D42BF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D42BF#FFFFFF#000000##FFFFFF
##8D42BF1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#865C7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d42bf;
/* rgb */ color: rgb(141, 66, 191);
/* oklch */ color: oklch(53.4% 0.192 308.9);
Tailwind
colors: {
  custom: {
    50: '#b27bd3',
    500: '#8d42bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d42bf;
$custom-light: #b27bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d42bf",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 276,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.19186,
    "h": 308.9
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#8D42BF
secondary
#A9CA93
accent
#D94F86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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