#941F97#941F97

#941F97 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.199 H 327.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#941F97
RGBrgb(148, 31, 151)
HSLhsl(299, 66%, 36%)
HSVhsv(299, 79%, 59%)
CMYKcmyk(2%, 79.5%, 0%, 40.8%)
CIE-LABlab(36.95, 60.42, -39.06)
CIE-LCHlch(36.95, 71.94, 327.12°)
OKLaboklab(48.3% 0.1672 -0.1085)
OKLCHoklch(48.3% 0.199 327)
XYZxyz(18.2883, 9.5116, 30.1448)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F97 #22971F
analogous
#581F97 #941F97 #971F5E
triadic
#941F97 #97941F #1F9794
tetradic
#941F97 #97581F #22971F #1F5E97
square
#941F97 #97581F #22971F #1F5E97
split-complementary
#941F97 #5E971F #1F9758
monochromatic
#300A31 #621564 #941F97 #C629CA #D954DC

Accessibility & contrast

On white

7.24
#941F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#941F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F97
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F97#FFFFFF#000000##FFFFFF
##941F971.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#98355B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #941f97;
/* rgb */ color: rgb(148, 31, 151);
/* oklch */ color: oklch(48.3% 0.199 327.0);
Tailwind
colors: {
  custom: {
    50: '#b76ab6',
    500: '#941f97',
    950: '#000000',
  },
}
SCSS
$custom: #941f97;
$custom-light: #b76ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#941f97",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 298.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.1993,
    "h": 327
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#941F97
secondary
#55BF52
accent
#E93F43
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #941F97

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

Preview Lab → · Contrast checker → · Palette generator →

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