#941F9E#941F9E

#941F9E is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.205 H 324.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#941F9E
RGBrgb(148, 31, 158)
HSLhsl(295, 67%, 37%)
HSVhsv(295, 80%, 62%)
CMYKcmyk(6.3%, 80.4%, 0%, 38%)
CIE-LABlab(37.38, 61.61, -42.61)
CIE-LCHlch(37.38, 74.91, 325.33°)
OKLaboklab(48.74% 0.1667 -0.1189)
OKLCHoklch(48.74% 0.205 324.5)
XYZxyz(18.8738, 9.7457, 33.2281)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F9E #299E1F
analogous
#551F9E #941F9E #9E1F68
triadic
#941F9E #9E941F #1F9E94
tetradic
#941F9E #9E551F #299E1F #1F689E
square
#941F9E #9E551F #299E1F #1F689E
split-complementary
#941F9E #689E1F #1F9E55
monochromatic
#340B38 #64156B #941F9E #C429D1 #D459DE

Accessibility & contrast

On white

7.12
#941F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#941F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F9E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F9E#FFFFFF#000000##FFFFFF
##941F9E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#3A5D9B
Tritanopia (blue-blind)
#97385F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #941f9e;
/* rgb */ color: rgb(148, 31, 158);
/* oklch */ color: oklch(48.7% 0.205 324.5);
Tailwind
colors: {
  custom: {
    50: '#b76abb',
    500: '#941f9e',
    950: '#000000',
  },
}
SCSS
$custom: #941f9e;
$custom-light: #b76abb;
$custom-dark: #000000;
JSON
{
  "hex": "#941f9e",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 295.276,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48739,
    "c": 0.20474,
    "h": 324.5
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#941F9E
secondary
#5FC256
accent
#EA3E4B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #941F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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