#941C97#941C97

#941C97 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.202 H 327.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#941C97
RGBrgb(148, 28, 151)
HSLhsl(299, 69%, 35%)
HSVhsv(299, 81%, 59%)
CMYKcmyk(2%, 81.5%, 0%, 40.8%)
CIE-LABlab(36.67, 61.23, -39.50)
CIE-LCHlch(36.67, 72.86, 327.17°)
OKLaboklab(48.1% 0.1694 -0.1098)
OKLCHoklch(48.1% 0.202 327)
XYZxyz(18.2136, 9.3621, 30.1199)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941C97 #1F971C
analogous
#571C97 #941C97 #971C5C
triadic
#941C97 #97941C #1C9794
tetradic
#941C97 #97571C #1F971C #1C5C97
square
#941C97 #97571C #1F971C #1C5C97
split-complementary
#941C97 #5C971C #1C9757
monochromatic
#2F0930 #611263 #941C97 #C726CB #DB4FDE

Accessibility & contrast

On white

7.31
#941C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#941C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941C97
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941C97#FFFFFF#000000##FFFFFF
##941C971.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#98335B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #941c97;
/* rgb */ color: rgb(148, 28, 151);
/* oklch */ color: oklch(48.1% 0.202 327.0);
Tailwind
colors: {
  custom: {
    50: '#b769b6',
    500: '#941c97',
    950: '#000000',
  },
}
SCSS
$custom: #941c97;
$custom-light: #b769b6;
$custom-dark: #000000;
JSON
{
  "hex": "#941c97",
  "rgb": {
    "r": 148,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 298.537,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.2019,
    "h": 327
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#941C97
secondary
#51C14E
accent
#EC3C41
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #941C97

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

Preview Lab → · Contrast checker → · Palette generator →

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