#942E82#942E82

#942E82 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.166 H 335.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#942E82
RGBrgb(148, 46, 130)
HSLhsl(311, 53%, 38%)
HSVhsv(311, 69%, 58%)
CMYKcmyk(0%, 68.9%, 12.2%, 42%)
CIE-LABlab(37.60, 51.90, -25.15)
CIE-LCHlch(37.60, 57.68, 334.15°)
OKLaboklab(48.39% 0.1517 -0.0685)
OKLCHoklch(48.39% 0.166 335.7)
XYZxyz(17.2192, 9.8631, 22.1116)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E82 #2E9440
analogous
#732E94 #942E82 #942E4F
triadic
#942E82 #82942E #2E8294
tetradic
#942E82 #94732E #2E9440 #2E4F94
square
#942E82 #94732E #2E9440 #2E4F94
split-complementary
#942E82 #4F942E #2E9473
monochromatic
#371130 #651F59 #942E82 #C33DAB #D16BBF

Accessibility & contrast

On white

7.06
#942E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#942E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E82
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E82#FFFFFF#000000##FFFFFF
##942E821.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#9B3554
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942e82;
/* rgb */ color: rgb(148, 46, 130);
/* oklch */ color: oklch(48.4% 0.166 335.7);
Tailwind
colors: {
  custom: {
    50: '#b76fa6',
    500: '#942e82',
    950: '#000000',
  },
}
SCSS
$custom: #942e82;
$custom-light: #b76fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#942e82",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 310.588,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.1664,
    "h": 335.7
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#942E82
secondary
#66B874
accent
#DC654C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #942E82

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

Preview Lab → · Contrast checker → · Palette generator →

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