#8D42C0#8D42C0

#8D42C0 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.5% C 0.193 H 308.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D42C0
RGBrgb(141, 66, 192)
HSLhsl(276, 50%, 51%)
HSVhsv(276, 66%, 75%)
CMYKcmyk(26.6%, 65.6%, 0%, 24.7%)
CIE-LABlab(43.31, 53.41, -53.33)
CIE-LCHlch(43.31, 75.47, 315.05°)
OKLaboklab(53.46% 0.1204 -0.1508)
OKLCHoklch(53.46% 0.193 308.6)
XYZxyz(22.4452, 13.3653, 51.2563)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D42C0 #75C042
analogous
#4E42C0 #8D42C0 #C042B4
triadic
#8D42C0 #C08D42 #42C08D
tetradic
#8D42C0 #C04E42 #75C042 #42B4C0
square
#8D42C0 #C04E42 #75C042 #42B4C0
split-complementary
#8D42C0 #B4C042 #42C04E
monochromatic
#4A2266 #6C3194 #8D42C0 #A970CF #C49EDF

Accessibility & contrast

On white

5.72
#8D42C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8D42C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D42C0
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D42C0#FFFFFF#000000##FFFFFF
##8D42C01.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#855C7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d42c0;
/* rgb */ color: rgb(141, 66, 192);
/* oklch */ color: oklch(53.5% 0.193 308.6);
Tailwind
colors: {
  custom: {
    50: '#b27bd4',
    500: '#8d42c0',
    950: '#000000',
  },
}
SCSS
$custom: #8d42c0;
$custom-light: #b27bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d42c0",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 275.714,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.19292,
    "h": 308.6
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#8D42C0
secondary
#AACB93
accent
#DA4E87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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