#8942D0#8942D0

#8942D0 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.209 H 302.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8942D0
RGBrgb(137, 66, 208)
HSLhsl(270, 60%, 54%)
HSVhsv(270, 68%, 82%)
CMYKcmyk(34.1%, 68.3%, 0%, 18.4%)
CIE-LABlab(43.90, 56.29, -61.67)
CIE-LCHlch(43.90, 83.49, 312.39°)
OKLaboklab(54.12% 0.1133 -0.1754)
OKLCHoklch(54.12% 0.209 302.9)
XYZxyz(23.6472, 13.7688, 61.0741)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942D0 #89D042
analogous
#4242D0 #8942D0 #D042D0
triadic
#8942D0 #D08942 #42D089
tetradic
#8942D0 #D04242 #89D042 #42D0D0
square
#8942D0 #D04242 #89D042 #42D0D0
split-complementary
#8942D0 #D0D042 #42D042
monochromatic
#4C1E79 #6A2AAA #8942D0 #A873DC #C6A4E8

Accessibility & contrast

On white

5.59
#8942D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8942D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942D0
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942D0#FFFFFF#000000##FFFFFF
##8942D01.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#7B6384
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8942d0;
/* rgb */ color: rgb(137, 66, 208);
/* oklch */ color: oklch(54.1% 0.209 302.9);
Tailwind
colors: {
  custom: {
    50: '#b17bdf',
    500: '#8942d0',
    950: '#000000',
  },
}
SCSS
$custom: #8942d0;
$custom-light: #b17bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8942d0",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 270,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54119,
    "c": 0.20884,
    "h": 302.9
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#8942D0
secondary
#B7D599
accent
#E34494
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8942D0

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

Preview Lab → · Contrast checker → · Palette generator →

#8942D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva