#8D42CE#8D42CE

#8D42CE is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.208 H 305.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8D42CE
RGBrgb(141, 66, 206)
HSLhsl(272, 59%, 53%)
HSVhsv(272, 68%, 81%)
CMYKcmyk(31.6%, 68%, 0%, 19.2%)
CIE-LABlab(44.26, 56.62, -59.91)
CIE-LCHlch(44.26, 82.43, 313.38°)
OKLaboklab(54.44% 0.119 -0.1701)
OKLCHoklch(54.44% 0.208 305)
XYZxyz(24.0708, 14.0155, 59.8177)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D42CE #83CE42
analogous
#4742CE #8D42CE #CE42C9
triadic
#8D42CE #CE8D42 #42CE8D
tetradic
#8D42CE #CE4742 #83CE42 #42C9CE
square
#8D42CE #CE4742 #83CE42 #42C9CE
split-complementary
#8D42CE #C9CE42 #42CE47
monochromatic
#4E1F77 #6E2BA7 #8D42CE #AA73DB #C8A3E7

Accessibility & contrast

On white

5.52
#8D42CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8D42CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D42CE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D42CE#FFFFFF#000000##FFFFFF
##8D42CE1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0D69CB
Tritanopia (blue-blind)
#816283
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d42ce;
/* rgb */ color: rgb(141, 66, 206);
/* oklch */ color: oklch(54.4% 0.208 305.0);
Tailwind
colors: {
  custom: {
    50: '#b37cde',
    500: '#8d42ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d42ce;
$custom-light: #b37cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8d42ce",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 272.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.20759,
    "h": 305
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#8D42CE
secondary
#B4D498
accent
#E2468E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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