#941F9C#941F9C

#941F9C is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.203 H 325.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#941F9C
RGBrgb(148, 31, 156)
HSLhsl(296, 67%, 37%)
HSVhsv(296, 80%, 61%)
CMYKcmyk(5.1%, 80.1%, 0%, 38.8%)
CIE-LABlab(37.26, 61.27, -41.60)
CIE-LCHlch(37.26, 74.06, 325.82°)
OKLaboklab(48.61% 0.1668 -0.116)
OKLCHoklch(48.61% 0.203 325.2)
XYZxyz(18.7030, 9.6774, 32.3289)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F9C #279C1F
analogous
#561F9C #941F9C #9C1F66
triadic
#941F9C #9C941F #1F9C94
tetradic
#941F9C #9C561F #279C1F #1F669C
square
#941F9C #9C561F #279C1F #1F669C
split-complementary
#941F9C #669C1F #1F9C56
monochromatic
#330B36 #641569 #941F9C #C429CF #D558DE

Accessibility & contrast

On white

7.15
#941F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#941F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F9C
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F9C#FFFFFF#000000##FFFFFF
##941F9C1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#3C5C99
Tritanopia (blue-blind)
#97375E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #941f9c;
/* rgb */ color: rgb(148, 31, 156);
/* oklch */ color: oklch(48.6% 0.203 325.2);
Tailwind
colors: {
  custom: {
    50: '#b76aba',
    500: '#941f9c',
    950: '#000000',
  },
}
SCSS
$custom: #941f9c;
$custom-light: #b76aba;
$custom-dark: #000000;
JSON
{
  "hex": "#941f9c",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 296.16,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.20318,
    "h": 325.2
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

primary
#941F9C
secondary
#5CC155
accent
#EA3E49
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #941F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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