#941882#941882

#941882 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.190 H 335.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#941882
RGBrgb(148, 24, 130)
HSLhsl(309, 72%, 34%)
HSVhsv(309, 84%, 58%)
CMYKcmyk(0%, 83.8%, 12.2%, 42%)
CIE-LABlab(35.13, 58.93, -29.02)
CIE-LCHlch(35.13, 65.69, 333.78°)
OKLaboklab(46.61% 0.1725 -0.0794)
OKLCHoklch(46.61% 0.19 335.3)
XYZxyz(16.5689, 8.5624, 21.8949)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941882 #18942A
analogous
#681894 #941882 #941844
triadic
#941882 #829418 #188294
tetradic
#941882 #946818 #18942A #184494
square
#941882 #946818 #18942A #184494
split-complementary
#941882 #449418 #189468
monochromatic
#2B0725 #5F0F54 #941882 #C921B0 #E145CA

Accessibility & contrast

On white

7.74
#941882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#941882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941882
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941882#FFFFFF#000000##FFFFFF
##9418821.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184785
Deuteranopia (green-blind)
#49597F
Tritanopia (blue-blind)
#9C254E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941882;
/* rgb */ color: rgb(148, 24, 130);
/* oklch */ color: oklch(46.6% 0.190 335.3);
Tailwind
colors: {
  custom: {
    50: '#b767a6',
    500: '#941882',
    950: '#000000',
  },
}
SCSS
$custom: #941882;
$custom-light: #b767a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941882",
  "rgb": {
    "r": 148,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 308.71,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46611,
    "c": 0.1899,
    "h": 335.3
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#941882
secondary
#46C258
accent
#EF5339
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941882

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

Preview Lab → · Contrast checker → · Palette generator →

#941882 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva