#8D42BE#8D42BE

#8D42BE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.191 H 309.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8D42BE
RGBrgb(141, 66, 190)
HSLhsl(276, 49%, 50%)
HSVhsv(276, 65%, 75%)
CMYKcmyk(25.8%, 65.3%, 0%, 25.5%)
CIE-LABlab(43.18, 52.96, -52.37)
CIE-LCHlch(43.18, 74.48, 315.32°)
OKLaboklab(53.32% 0.1205 -0.148)
OKLCHoklch(53.32% 0.191 309.2)
XYZxyz(22.2251, 13.2772, 50.0972)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D42BE #73BE42
analogous
#4F42BE #8D42BE #BE42B1
triadic
#8D42BE #BE8D42 #42BE8D
tetradic
#8D42BE #BE4F42 #73BE42 #42B1BE
square
#8D42BE #BE4F42 #73BE42 #42B1BE
split-complementary
#8D42BE #B1BE42 #42BE4F
monochromatic
#4A2263 #6B3291 #8D42BE #A870CE #C49DDD

Accessibility & contrast

On white

5.74
#8D42BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D42BE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D42BE#FFFFFF#000000##FFFFFF
##8D42BE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#865C7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d42be;
/* rgb */ color: rgb(141, 66, 190);
/* oklch */ color: oklch(53.3% 0.191 309.2);
Tailwind
colors: {
  custom: {
    50: '#b27bd2',
    500: '#8d42be',
    950: '#000000',
  },
}
SCSS
$custom: #8d42be;
$custom-light: #b27bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d42be",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 276.29,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.19082,
    "h": 309.2
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#8D42BE
secondary
#A8CA92
accent
#D84F86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D42BE

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

Preview Lab → · Contrast checker → · Palette generator →

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