#941FA7#941FA7

#941FA7 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.212 H 321.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#941FA7
RGBrgb(148, 31, 167)
HSLhsl(292, 69%, 39%)
HSVhsv(292, 81%, 65%)
CMYKcmyk(11.4%, 81.4%, 0%, 34.5%)
CIE-LABlab(37.96, 63.19, -47.10)
CIE-LCHlch(37.96, 78.81, 323.30°)
OKLaboklab(49.33% 0.1657 -0.1321)
OKLCHoklch(49.33% 0.212 321.4)
XYZxyz(19.6770, 10.0670, 37.4584)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941FA7 #32A71F
analogous
#501FA7 #941FA7 #A71F76
triadic
#941FA7 #A7941F #1FA794
tetradic
#941FA7 #A7501F #32A71F #1F76A7
square
#941FA7 #A7501F #32A71F #1F76A7
split-complementary
#941FA7 #76A71F #1FA750
monochromatic
#390C40 #661573 #941FA7 #C02BD8 #CF5FE1

Accessibility & contrast

On white

6.97
#941FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#941FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #941FA7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941FA7#FFFFFF#000000##FFFFFF
##941FA71.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#325DA4
Tritanopia (blue-blind)
#953D64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #941fa7;
/* rgb */ color: rgb(148, 31, 167);
/* oklch */ color: oklch(49.3% 0.212 321.4);
Tailwind
colors: {
  custom: {
    50: '#b86bc2',
    500: '#941fa7',
    950: '#000000',
  },
}
SCSS
$custom: #941fa7;
$custom-light: #b86bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#941fa7",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 291.618,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.21186,
    "h": 321.4
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#941FA7
secondary
#6BC65C
accent
#EC3C55
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #941FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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