#941F8E#941F8E

#941F8E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.192 H 330.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#941F8E
RGBrgb(148, 31, 142)
HSLhsl(303, 65%, 35%)
HSVhsv(303, 79%, 58%)
CMYKcmyk(0%, 79.1%, 4.1%, 42%)
CIE-LABlab(36.42, 58.94, -34.39)
CIE-LCHlch(36.42, 68.24, 329.74°)
OKLaboklab(47.75% 0.1674 -0.095)
OKLCHoklch(47.75% 0.192 330.4)
XYZxyz(17.5852, 9.2303, 26.4414)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F8E #1F9425
analogous
#601F94 #941F8E #941F53
triadic
#941F8E #8E941F #1F8E94
tetradic
#941F8E #94601F #1F9425 #1F5394
square
#941F8E #94601F #1F9425 #1F5394
split-complementary
#941F8E #53941F #1F9460
monochromatic
#2F0A2D #61145D #941F8E #C72ABF #DB53D4

Accessibility & contrast

On white

7.38
#941F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#941F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F8E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F8E#FFFFFF#000000##FFFFFF
##941F8E1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C91
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#9A3056
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #941f8e;
/* rgb */ color: rgb(148, 31, 142);
/* oklch */ color: oklch(47.8% 0.192 330.4);
Tailwind
colors: {
  custom: {
    50: '#b76aaf',
    500: '#941f8e',
    950: '#000000',
  },
}
SCSS
$custom: #941f8e;
$custom-light: #b76aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#941f8e",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 303.077,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.19246,
    "h": 330.4
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#941F8E
secondary
#51BE56
accent
#E8483F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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