#982F91#982F91

#982F91 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.9% C 0.179 H 330.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#982F91
RGBrgb(152, 47, 145)
HSLhsl(304, 53%, 39%)
HSVhsv(304, 69%, 60%)
CMYKcmyk(0%, 69.1%, 4.6%, 40.4%)
CIE-LABlab(39.16, 54.97, -31.85)
CIE-LCHlch(39.16, 63.53, 329.91°)
OKLaboklab(49.9% 0.1563 -0.0877)
OKLCHoklch(49.9% 0.179 330.7)
XYZxyz(19.0762, 10.7542, 27.8536)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F91 #2F9836
analogous
#6B2F98 #982F91 #982F5D
triadic
#982F91 #91982F #2F9198
tetradic
#982F91 #986B2F #2F9836 #2F5D98
square
#982F91 #986B2F #2F9836 #2F5D98
split-complementary
#982F91 #5D982F #2F986B
monochromatic
#3B1238 #692164 #982F91 #C440BB #D26FCC

Accessibility & contrast

On white

6.67
#982F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#982F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F91
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F91#FFFFFF#000000##FFFFFF
##982F911.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#4E618E
Tritanopia (blue-blind)
#9E3B5C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982f91;
/* rgb */ color: rgb(152, 47, 145);
/* oklch */ color: oklch(49.9% 0.179 330.7);
Tailwind
colors: {
  custom: {
    50: '#b971b1',
    500: '#982f91',
    950: '#000000',
  },
}
SCSS
$custom: #982f91;
$custom-light: #b971b1;
$custom-dark: #000000;
JSON
{
  "hex": "#982f91",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 304,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49901,
    "c": 0.17918,
    "h": 330.7
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#982F91
secondary
#69BA6E
accent
#DC554C
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #982F91

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

Preview Lab → · Contrast checker → · Palette generator →

#982F91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva