#941F81#941F81

#941F81 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.183 H 335.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#941F81
RGBrgb(148, 31, 129)
HSLhsl(310, 65%, 35%)
HSVhsv(310, 79%, 58%)
CMYKcmyk(0%, 79.1%, 12.8%, 42%)
CIE-LABlab(35.72, 56.93, -27.47)
CIE-LCHlch(35.72, 63.21, 334.24°)
OKLaboklab(47.02% 0.1669 -0.075)
OKLCHoklch(47.02% 0.183 335.8)
XYZxyz(16.6654, 8.8624, 21.5975)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F81 #1F9432
analogous
#6D1F94 #941F81 #941F46
triadic
#941F81 #81941F #1F8194
tetradic
#941F81 #946D1F #1F9432 #1F4694
square
#941F81 #946D1F #1F9432 #1F4694
split-complementary
#941F81 #46941F #1F946D
monochromatic
#2F0A29 #611455 #941F81 #C72AAD #DB53C5

Accessibility & contrast

On white

7.58
#941F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#941F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F81
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F81#FFFFFF#000000##FFFFFF
##941F811.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#4B5A7E
Tritanopia (blue-blind)
#9C294F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941f81;
/* rgb */ color: rgb(148, 31, 129);
/* oklch */ color: oklch(47.0% 0.183 335.8);
Tailwind
colors: {
  custom: {
    50: '#b769a6',
    500: '#941f81',
    950: '#000000',
  },
}
SCSS
$custom: #941f81;
$custom-light: #b769a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941f81",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 309.744,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.183,
    "h": 335.8
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#941F81
secondary
#51BE62
accent
#E85B3F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941F81

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

Preview Lab → · Contrast checker → · Palette generator →

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