#981B95#981B95

#981B95 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.203 H 329.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#981B95
RGBrgb(152, 27, 149)
HSLhsl(301, 70%, 35%)
HSVhsv(301, 82%, 60%)
CMYKcmyk(0%, 82.2%, 2%, 40.4%)
CIE-LABlab(37.17, 61.96, -37.44)
CIE-LCHlch(37.17, 72.40, 328.85°)
OKLaboklab(48.55% 0.1745 -0.1037)
OKLCHoklch(48.55% 0.203 329.3)
XYZxyz(18.7655, 9.6307, 29.2985)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B95 #1B981E
analogous
#5C1B98 #981B95 #981B56
triadic
#981B95 #95981B #1B9598
tetradic
#981B95 #985C1B #1B981E #1B5698
square
#981B95 #985C1B #1B981E #1B5698
split-complementary
#981B95 #56981B #1B985C
monochromatic
#30092F #641262 #981B95 #CC24C8 #E04EDC

Accessibility & contrast

On white

7.18
#981B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#981B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B95
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B95#FFFFFF#000000##FFFFFF
##981B951.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#9E3059
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #981b95;
/* rgb */ color: rgb(152, 27, 149);
/* oklch */ color: oklch(48.5% 0.203 329.3);
Tailwind
colors: {
  custom: {
    50: '#ba69b5',
    500: '#981b95',
    950: '#000000',
  },
}
SCSS
$custom: #981b95;
$custom-light: #ba69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#981b95",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 301.44,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48547,
    "c": 0.203,
    "h": 329.3
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#981B95
secondary
#4DC250
accent
#ED3F3B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981B95

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

Preview Lab → · Contrast checker → · Palette generator →

#981B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva