#941981#941981

#941981 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.188 H 335.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#941981
RGBrgb(148, 25, 129)
HSLhsl(309, 71%, 34%)
HSVhsv(309, 83%, 58%)
CMYKcmyk(0%, 83.1%, 12.8%, 42%)
CIE-LABlab(35.16, 58.54, -28.35)
CIE-LCHlch(35.16, 65.05, 334.16°)
OKLaboklab(46.62% 0.1717 -0.0775)
OKLCHoklch(46.62% 0.188 335.7)
XYZxyz(16.5231, 8.5777, 21.5501)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941981 #19942C
analogous
#6A1994 #941981 #941944
triadic
#941981 #819419 #198194
tetradic
#941981 #946A19 #19942C #194494
square
#941981 #946A19 #19942C #194494
split-complementary
#941981 #449419 #19946A
monochromatic
#2B0726 #601053 #941981 #C822AF #E047C8

Accessibility & contrast

On white

7.73
#941981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#941981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941981
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941981#FFFFFF#000000##FFFFFF
##9419811.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4784
Deuteranopia (green-blind)
#49597E
Tritanopia (blue-blind)
#9C254D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #941981;
/* rgb */ color: rgb(148, 25, 129);
/* oklch */ color: oklch(46.6% 0.188 335.7);
Tailwind
colors: {
  custom: {
    50: '#b767a6',
    500: '#941981',
    950: '#000000',
  },
}
SCSS
$custom: #941981;
$custom-light: #b767a6;
$custom-dark: #000000;
JSON
{
  "hex": "#941981",
  "rgb": {
    "r": 148,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 309.268,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.1884,
    "h": 335.7
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#941981
secondary
#47C15A
accent
#EE563A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #941981

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

Preview Lab → · Contrast checker → · Palette generator →

#941981 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva