#982D95#982D95

#982D95 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.185 H 329.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#982D95
RGBrgb(152, 45, 149)
HSLhsl(302, 54%, 39%)
HSVhsv(302, 70%, 60%)
CMYKcmyk(0%, 70.4%, 2%, 40.4%)
CIE-LABlab(39.11, 56.40, -34.37)
CIE-LCHlch(39.11, 66.04, 328.64°)
OKLaboklab(49.93% 0.1586 -0.0949)
OKLCHoklch(49.93% 0.185 329.1)
XYZxyz(19.3119, 10.7235, 29.4806)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D95 #2D9830
analogous
#652D98 #982D95 #982D5F
triadic
#982D95 #95982D #2D9598
tetradic
#982D95 #98652D #2D9830 #2D5F98
square
#982D95 #98652D #2D9830 #2D5F98
split-complementary
#982D95 #5F982D #2D9865
monochromatic
#3A1138 #691F67 #982D95 #C53DC2 #D36CD1

Accessibility & contrast

On white

6.68
#982D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#982D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D95
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D95#FFFFFF#000000##FFFFFF
##982D951.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5398
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#9D3B5E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982d95;
/* rgb */ color: rgb(152, 45, 149);
/* oklch */ color: oklch(49.9% 0.185 329.1);
Tailwind
colors: {
  custom: {
    50: '#ba70b4',
    500: '#982d95',
    950: '#000000',
  },
}
SCSS
$custom: #982d95;
$custom-light: #ba70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#982d95",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 301.682,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.18487,
    "h": 329.1
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#982D95
secondary
#66BA69
accent
#DE4E4A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982D95

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

Preview Lab → · Contrast checker → · Palette generator →

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