#941FB4#941FB4

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

Color values

HEX#941FB4
RGBrgb(148, 31, 180)
HSLhsl(287, 71%, 41%)
HSVhsv(287, 83%, 71%)
CMYKcmyk(17.8%, 82.8%, 0%, 29.4%)
CIE-LABlab(38.85, 65.56, -53.42)
CIE-LCHlch(38.85, 84.56, 320.83°)
OKLaboklab(50.24% 0.1636 -0.1506)
OKLCHoklch(50.24% 0.222 317.4)
XYZxyz(20.9397, 10.5721, 44.1088)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941FB4 #3FB41F
analogous
#4A1FB4 #941FB4 #B41F8A
triadic
#941FB4 #B4941F #1FB494
tetradic
#941FB4 #B44A1F #3FB41F #1F8AB4
square
#941FB4 #B44A1F #3FB41F #1F8AB4
split-complementary
#941FB4 #8AB41F #1FB44A
monochromatic
#3E0D4C #691680 #941FB4 #B834DC #CA68E5

Accessibility & contrast

On white

6.74
#941FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#941FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #941FB4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941FB4#FFFFFF#000000##FFFFFF
##941FB41.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #941fb4;
/* rgb */ color: rgb(148, 31, 180);
/* oklch */ color: oklch(50.2% 0.222 317.4);
Tailwind
colors: {
  custom: {
    50: '#b86bcb',
    500: '#941fb4',
    950: '#000000',
  },
}
SCSS
$custom: #941fb4;
$custom-light: #b86bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#941fb4",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 287.114,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.22234,
    "h": 317.4
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#941FB4
secondary
#7ACB64
accent
#ED3A61
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #941FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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