#942E83#942E83

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

Color values

HEX#942E83
RGBrgb(148, 46, 131)
HSLhsl(310, 53%, 38%)
HSVhsv(310, 69%, 58%)
CMYKcmyk(0%, 68.9%, 11.5%, 42%)
CIE-LABlab(37.64, 52.06, -25.69)
CIE-LCHlch(37.64, 58.06, 333.73°)
OKLaboklab(48.44% 0.1518 -0.07)
OKLCHoklch(48.44% 0.167 335.2)
XYZxyz(17.2867, 9.8900, 22.4669)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E83 #2E943F
analogous
#722E94 #942E83 #942E50
triadic
#942E83 #83942E #2E8394
tetradic
#942E83 #94722E #2E943F #2E5094
square
#942E83 #94722E #2E943F #2E5094
split-complementary
#942E83 #50942E #2E9472
monochromatic
#371130 #651F5A #942E83 #C33DAC #D16BC0

Accessibility & contrast

On white

7.05
#942E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942E83
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E83#FFFFFF#000000##FFFFFF
##942E831.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F85
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#9B3554
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942e83;
/* rgb */ color: rgb(148, 46, 131);
/* oklch */ color: oklch(48.4% 0.167 335.2);
Tailwind
colors: {
  custom: {
    50: '#b76fa7',
    500: '#942e83',
    950: '#000000',
  },
}
SCSS
$custom: #942e83;
$custom-light: #b76fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#942e83",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 310,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.16716,
    "h": 335.2
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #942E83

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

Preview Lab → · Contrast checker → · Palette generator →

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