#941EB4#941EB4

#941EB4 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.2% C 0.223 H 317.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#941EB4
RGBrgb(148, 30, 180)
HSLhsl(287, 71%, 41%)
HSVhsv(287, 83%, 71%)
CMYKcmyk(17.8%, 83.3%, 0%, 29.4%)
CIE-LABlab(38.76, 65.82, -53.56)
CIE-LCHlch(38.76, 84.86, 320.86°)
OKLaboklab(50.18% 0.1643 -0.151)
OKLCHoklch(50.18% 0.223 317.4)
XYZxyz(20.9140, 10.5207, 44.1002)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941EB4 #3EB41E
analogous
#491EB4 #941EB4 #B41E89
triadic
#941EB4 #B4941E #1EB494
tetradic
#941EB4 #B4491E #3EB41E #1E89B4
square
#941EB4 #B4491E #3EB41E #1E89B4
split-complementary
#941EB4 #89B41E #1EB449
monochromatic
#3E0D4B #691580 #941EB4 #B832DD #CB67E6

Accessibility & contrast

On white

6.77
#941EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#941EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #941EB4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941EB4#FFFFFF#000000##FFFFFF
##941EB41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#225FB1
Tritanopia (blue-blind)
#92436C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #941eb4;
/* rgb */ color: rgb(148, 30, 180);
/* oklch */ color: oklch(50.2% 0.223 317.4);
Tailwind
colors: {
  custom: {
    50: '#b86bcb',
    500: '#941eb4',
    950: '#000000',
  },
}
SCSS
$custom: #941eb4;
$custom-light: #b86bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#941eb4",
  "rgb": {
    "r": 148,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 287.2,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.22312,
    "h": 317.4
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#941EB4
secondary
#79CB63
accent
#EE3A60
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #941EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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