#941A87#941A87

#941A87 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.192 H 333.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#941A87
RGBrgb(148, 26, 135)
HSLhsl(306, 70%, 34%)
HSVhsv(306, 82%, 58%)
CMYKcmyk(0%, 82.4%, 8.8%, 42%)
CIE-LABlab(35.57, 59.19, -31.43)
CIE-LCHlch(35.57, 67.02, 332.03°)
OKLaboklab(47.01% 0.1712 -0.0864)
OKLCHoklch(47.01% 0.192 333.2)
XYZxyz(16.9554, 8.7855, 23.7197)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941A87 #1A9427
analogous
#641A94 #941A87 #941A4A
triadic
#941A87 #87941A #1A8794
tetradic
#941A87 #94641A #1A9427 #1A4A94
square
#941A87 #94641A #1A9427 #1A4A94
split-complementary
#941A87 #4A941A #1A9464
monochromatic
#2C0828 #601158 #941A87 #C823B6 #DF49CF

Accessibility & contrast

On white

7.62
#941A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#941A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941A87
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941A87#FFFFFF#000000##FFFFFF
##941A871.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#9B2951
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941a87;
/* rgb */ color: rgb(148, 26, 135);
/* oklch */ color: oklch(47.0% 0.192 333.2);
Tailwind
colors: {
  custom: {
    50: '#b768aa',
    500: '#941a87',
    950: '#000000',
  },
}
SCSS
$custom: #941a87;
$custom-light: #b768aa;
$custom-dark: #000000;
JSON
{
  "hex": "#941a87",
  "rgb": {
    "r": 148,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 306.393,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.19178,
    "h": 333.2
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#941A87
secondary
#49C156
accent
#ED4E3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941A87

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

Preview Lab → · Contrast checker → · Palette generator →

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