#941BB4#941BB4

#941BB4 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.0% C 0.225 H 317.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#941BB4
RGBrgb(148, 27, 180)
HSLhsl(287, 74%, 41%)
HSVhsv(287, 85%, 71%)
CMYKcmyk(17.8%, 85%, 0%, 29.4%)
CIE-LABlab(38.51, 66.56, -53.97)
CIE-LCHlch(38.51, 85.69, 320.96°)
OKLaboklab(50% 0.1662 -0.1522)
OKLCHoklch(50% 0.225 317.5)
XYZxyz(20.8417, 10.3760, 44.0761)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941BB4 #3BB41B
analogous
#471BB4 #941BB4 #B41B87
triadic
#941BB4 #B4941B #1BB494
tetradic
#941BB4 #B4471B #3BB41B #1B87B4
square
#941BB4 #B4471B #3BB41B #1B87B4
split-complementary
#941BB4 #87B41B #1BB447
monochromatic
#3C0B4A #68137F #941BB4 #BA2DDF #CC62E7

Accessibility & contrast

On white

6.83
#941BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#941BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #941BB4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941BB4#FFFFFF#000000##FFFFFF
##941BB41.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#205EB1
Tritanopia (blue-blind)
#92426B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #941bb4;
/* rgb */ color: rgb(148, 27, 180);
/* oklch */ color: oklch(50.0% 0.225 317.5);
Tailwind
colors: {
  custom: {
    50: '#b86acb',
    500: '#941bb4',
    950: '#000000',
  },
}
SCSS
$custom: #941bb4;
$custom-light: #b86acb;
$custom-dark: #000000;
JSON
{
  "hex": "#941bb4",
  "rgb": {
    "r": 148,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 287.451,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.22531,
    "h": 317.5
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#941BB4
secondary
#76CC5F
accent
#F1375E
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #941BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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