#8D42DD#8D42DD

#8D42DD is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.223 H 301.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8D42DD
RGBrgb(141, 66, 221)
HSLhsl(269, 70%, 56%)
HSVhsv(269, 70%, 87%)
CMYKcmyk(36.2%, 70.1%, 0%, 13.3%)
CIE-LABlab(45.33, 60.14, -66.77)
CIE-LCHlch(45.33, 89.86, 312.01°)
OKLaboklab(55.54% 0.1168 -0.1903)
OKLCHoklch(55.54% 0.223 301.5)
XYZxyz(25.9807, 14.7795, 69.8766)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D42DD #92DD42
analogous
#4245DD #8D42DD #DB42DD
triadic
#8D42DD #DD8D42 #42DD8D
tetradic
#8D42DD #DD4245 #92DD42 #42DDDB
square
#8D42DD #DD4245 #92DD42 #42DDDB
split-complementary
#8D42DD #DDDB42 #45DD42
monochromatic
#50198C #6E22BF #8D42DD #AC76E6 #CCAAF0

Accessibility & contrast

On white

5.31
#8D42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8D42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D42DD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D42DD#FFFFFF#000000##FFFFFF
##8D42DD1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#7C678B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d42dd;
/* rgb */ color: rgb(141, 66, 221);
/* oklch */ color: oklch(55.5% 0.223 301.5);
Tailwind
colors: {
  custom: {
    50: '#b47ce9',
    500: '#8d42dd',
    950: '#000000',
  },
}
SCSS
$custom: #8d42dd;
$custom-light: #b47ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d42dd",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 269.032,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.22325,
    "h": 301.5
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#8D42DD
secondary
#BEDD9D
accent
#EC3B97
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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