#941FA1#941FA1

#941FA1 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.207 H 323.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#941FA1
RGBrgb(148, 31, 161)
HSLhsl(294, 68%, 38%)
HSVhsv(294, 81%, 63%)
CMYKcmyk(8.1%, 80.7%, 0%, 36.9%)
CIE-LABlab(37.57, 62.13, -44.12)
CIE-LCHlch(37.57, 76.20, 324.62°)
OKLaboklab(48.94% 0.1664 -0.1233)
OKLCHoklch(48.94% 0.207 323.4)
XYZxyz(19.1352, 9.8503, 34.6047)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941FA1 #2CA11F
analogous
#531FA1 #941FA1 #A11F6D
triadic
#941FA1 #A1941F #1FA194
tetradic
#941FA1 #A1531F #2CA11F #1F6DA1
square
#941FA1 #A1531F #2CA11F #1F6DA1
split-complementary
#941FA1 #6DA11F #1FA153
monochromatic
#360B3A #65156E #941FA1 #C329D4 #D25BDF

Accessibility & contrast

On white

7.07
#941FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#941FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941FA1
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941FA1#FFFFFF#000000##FFFFFF
##941FA11.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#385D9E
Tritanopia (blue-blind)
#963A61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #941fa1;
/* rgb */ color: rgb(148, 31, 161);
/* oklch */ color: oklch(48.9% 0.207 323.4);
Tailwind
colors: {
  custom: {
    50: '#b76abd',
    500: '#941fa1',
    950: '#000000',
  },
}
SCSS
$custom: #941fa1;
$custom-light: #b76abd;
$custom-dark: #000000;
JSON
{
  "hex": "#941fa1",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 294,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48935,
    "c": 0.20711,
    "h": 323.4
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#941FA1
secondary
#63C458
accent
#EB3D4F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #941FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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