#941988#941988

#941988 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.193 H 332.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#941988
RGBrgb(148, 25, 136)
HSLhsl(306, 71%, 34%)
HSVhsv(306, 83%, 58%)
CMYKcmyk(0%, 83.1%, 8.1%, 42%)
CIE-LABlab(35.54, 59.59, -32.10)
CIE-LCHlch(35.54, 67.68, 331.69°)
OKLaboklab(47.01% 0.172 -0.0883)
OKLCHoklch(47.01% 0.193 332.8)
XYZxyz(17.0044, 8.7702, 24.0850)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941988 #199425
analogous
#631994 #941988 #94194B
triadic
#941988 #889419 #198894
tetradic
#941988 #946319 #199425 #194B94
square
#941988 #946319 #199425 #194B94
split-complementary
#941988 #4B9419 #199463
monochromatic
#2B0728 #601058 #941988 #C822B8 #E047D1

Accessibility & contrast

On white

7.63
#941988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#941988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941988
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941988#FFFFFF#000000##FFFFFF
##9419881.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498B
Deuteranopia (green-blind)
#465A85
Tritanopia (blue-blind)
#9B2951
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #941988;
/* rgb */ color: rgb(148, 25, 136);
/* oklch */ color: oklch(47.0% 0.193 332.8);
Tailwind
colors: {
  custom: {
    50: '#b767ab',
    500: '#941988',
    950: '#000000',
  },
}
SCSS
$custom: #941988;
$custom-light: #b767ab;
$custom-dark: #000000;
JSON
{
  "hex": "#941988",
  "rgb": {
    "r": 148,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 305.854,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4701,
    "c": 0.19331,
    "h": 332.8
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#941988
secondary
#47C153
accent
#EE4C3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #941988

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

Preview Lab → · Contrast checker → · Palette generator →

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