#941F9A#941F9A

#941F9A is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.202 H 325.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#941F9A
RGBrgb(148, 31, 154)
HSLhsl(297, 66%, 36%)
HSVhsv(297, 80%, 60%)
CMYKcmyk(3.9%, 79.9%, 0%, 39.6%)
CIE-LABlab(37.13, 60.92, -40.59)
CIE-LCHlch(37.13, 73.21, 326.33°)
OKLaboklab(48.48% 0.167 -0.113)
OKLCHoklch(48.48% 0.202 325.9)
XYZxyz(18.5351, 9.6103, 31.4443)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F9A #259A1F
analogous
#571F9A #941F9A #9A1F63
triadic
#941F9A #9A941F #1F9A94
tetradic
#941F9A #9A571F #259A1F #1F639A
square
#941F9A #9A571F #259A1F #1F639A
split-complementary
#941F9A #639A1F #1F9A57
monochromatic
#320A34 #631567 #941F9A #C529CD #D656DD

Accessibility & contrast

On white

7.19
#941F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#941F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F9A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F9A#FFFFFF#000000##FFFFFF
##941F9A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#3D5C97
Tritanopia (blue-blind)
#98365D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #941f9a;
/* rgb */ color: rgb(148, 31, 154);
/* oklch */ color: oklch(48.5% 0.202 325.9);
Tailwind
colors: {
  custom: {
    50: '#b76ab8',
    500: '#941f9a',
    950: '#000000',
  },
}
SCSS
$custom: #941f9a;
$custom-light: #b76ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#941f9a",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 297.073,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48484,
    "c": 0.20162,
    "h": 325.9
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#941F9A
secondary
#59C154
accent
#E93E47
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #941F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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