#941B82#941B82

#941B82 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.187 H 335.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#941B82
RGBrgb(148, 27, 130)
HSLhsl(309, 69%, 34%)
HSVhsv(309, 82%, 58%)
CMYKcmyk(0%, 81.8%, 12.2%, 42%)
CIE-LABlab(35.39, 58.18, -28.61)
CIE-LCHlch(35.39, 64.84, 333.81°)
OKLaboklab(46.8% 0.1703 -0.0783)
OKLCHoklch(46.8% 0.187 335.3)
XYZxyz(16.6342, 8.6930, 21.9166)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941B82 #1B942D
analogous
#6A1B94 #941B82 #941B45
triadic
#941B82 #82941B #1B8294
tetradic
#941B82 #946A1B #1B942D #1B4594
square
#941B82 #946A1B #1B942D #1B4594
split-complementary
#941B82 #45941B #1B946A
monochromatic
#2C0827 #601255 #941B82 #C824AF #DE4BC8

Accessibility & contrast

On white

7.67
#941B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#941B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941B82
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941B82#FFFFFF#000000##FFFFFF
##941B821.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#49597F
Tritanopia (blue-blind)
#9C274E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941b82;
/* rgb */ color: rgb(148, 27, 130);
/* oklch */ color: oklch(46.8% 0.187 335.3);
Tailwind
colors: {
  custom: {
    50: '#b768a6',
    500: '#941b82',
    950: '#000000',
  },
}
SCSS
$custom: #941b82;
$custom-light: #b768a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941b82",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 308.926,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.1874,
    "h": 335.3
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#941B82
secondary
#4BC05C
accent
#EC563C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941B82

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

Preview Lab → · Contrast checker → · Palette generator →

#941B82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva