#941CB4#941CB4

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

Color values

HEX#941CB4
RGBrgb(148, 28, 180)
HSLhsl(287, 73%, 41%)
HSVhsv(287, 84%, 71%)
CMYKcmyk(17.8%, 84.4%, 0%, 29.4%)
CIE-LABlab(38.59, 66.32, -53.84)
CIE-LCHlch(38.59, 85.42, 320.93°)
OKLaboklab(50.06% 0.1655 -0.1518)
OKLCHoklch(50.06% 0.225 317.5)
XYZxyz(20.8650, 10.4227, 44.0839)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941CB4 #3CB41C
analogous
#481CB4 #941CB4 #B41C88
triadic
#941CB4 #B4941C #1CB494
tetradic
#941CB4 #B4481C #3CB41C #1C88B4
square
#941CB4 #B4481C #3CB41C #1C88B4
split-complementary
#941CB4 #88B41C #1CB448
monochromatic
#3D0C4A #68147F #941CB4 #BA2FDF #CB64E7

Accessibility & contrast

On white

6.81
#941CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #941CB4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941CB4#FFFFFF#000000##FFFFFF
##941CB41.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.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: #941cb4;
/* rgb */ color: rgb(148, 28, 180);
/* oklch */ color: oklch(50.1% 0.225 317.5);
Tailwind
colors: {
  custom: {
    50: '#b86acb',
    500: '#941cb4',
    950: '#000000',
  },
}
SCSS
$custom: #941cb4;
$custom-light: #b86acb;
$custom-dark: #000000;
JSON
{
  "hex": "#941cb4",
  "rgb": {
    "r": 148,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 287.368,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50058,
    "c": 0.2246,
    "h": 317.5
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

primary
#941CB4
secondary
#77CC60
accent
#F0385F
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #941CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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