#942E84#942E84

#942E84 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.168 H 334.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#942E84
RGBrgb(148, 46, 132)
HSLhsl(309, 53%, 38%)
HSVhsv(309, 69%, 58%)
CMYKcmyk(0%, 68.9%, 10.8%, 42%)
CIE-LABlab(37.69, 52.22, -26.23)
CIE-LCHlch(37.69, 58.44, 333.33°)
OKLaboklab(48.49% 0.1519 -0.0716)
OKLCHoklch(48.49% 0.168 334.8)
XYZxyz(17.3548, 9.9173, 22.8255)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E84 #2E943E
analogous
#712E94 #942E84 #942E51
triadic
#942E84 #84942E #2E8494
tetradic
#942E84 #94712E #2E943E #2E5194
square
#942E84 #94712E #2E943E #2E5194
split-complementary
#942E84 #51942E #2E9471
monochromatic
#371131 #651F5A #942E84 #C33DAE #D16BC1

Accessibility & contrast

On white

7.04
#942E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#942E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E84
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E84#FFFFFF#000000##FFFFFF
##942E841.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F86
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#9B3655
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942e84;
/* rgb */ color: rgb(148, 46, 132);
/* oklch */ color: oklch(48.5% 0.168 334.8);
Tailwind
colors: {
  custom: {
    50: '#b76fa8',
    500: '#942e84',
    950: '#000000',
  },
}
SCSS
$custom: #942e84;
$custom-light: #b76fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#942e84",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 309.412,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.16792,
    "h": 334.8
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#942E84
secondary
#66B873
accent
#DC624C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #942E84

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

Preview Lab → · Contrast checker → · Palette generator →

#942E84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva