#941F82#941F82

#941F82 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.184 H 335.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#941F82
RGBrgb(148, 31, 130)
HSLhsl(309, 65%, 35%)
HSVhsv(309, 79%, 58%)
CMYKcmyk(0%, 79.1%, 12.2%, 42%)
CIE-LABlab(35.77, 57.08, -28.01)
CIE-LCHlch(35.77, 63.58, 333.86°)
OKLaboklab(47.07% 0.167 -0.0766)
OKLCHoklch(47.07% 0.184 335.4)
XYZxyz(16.7322, 8.8891, 21.9493)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F82 #1F9431
analogous
#6C1F94 #941F82 #941F47
triadic
#941F82 #82941F #1F8294
tetradic
#941F82 #946C1F #1F9431 #1F4794
square
#941F82 #946C1F #1F9431 #1F4794
split-complementary
#941F82 #47941F #1F946C
monochromatic
#2F0A29 #611456 #941F82 #C72AAE #DB53C6

Accessibility & contrast

On white

7.56
#941F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#941F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F82
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F82#FFFFFF#000000##FFFFFF
##941F821.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#4B5A7F
Tritanopia (blue-blind)
#9C294F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941f82;
/* rgb */ color: rgb(148, 31, 130);
/* oklch */ color: oklch(47.1% 0.184 335.4);
Tailwind
colors: {
  custom: {
    50: '#b769a6',
    500: '#941f82',
    950: '#000000',
  },
}
SCSS
$custom: #941f82;
$custom-light: #b769a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941f82",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 309.231,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47071,
    "c": 0.18371,
    "h": 335.4
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #941F82

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

Preview Lab → · Contrast checker → · Palette generator →

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