#982CB1#982CB1

#982CB1 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.209 H 319.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#982CB1
RGBrgb(152, 44, 177)
HSLhsl(289, 60%, 43%)
HSVhsv(289, 75%, 69%)
CMYKcmyk(14.1%, 75.1%, 0%, 30.6%)
CIE-LABlab(40.66, 61.77, -48.69)
CIE-LCHlch(40.66, 78.66, 321.75°)
OKLaboklab(51.58% 0.1586 -0.1367)
OKLCHoklch(51.58% 0.209 319.2)
XYZxyz(21.7844, 11.6522, 42.6881)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CB1 #45B12C
analogous
#552CB1 #982CB1 #B12C87
triadic
#982CB1 #B1982C #2CB198
tetradic
#982CB1 #B1552C #45B12C #2C87B1
square
#982CB1 #B1552C #45B12C #2C87B1
split-complementary
#982CB1 #87B12C #2CB155
monochromatic
#44144F #6E2080 #982CB1 #B849D2 #CB7ADE

Accessibility & contrast

On white

6.31
#982CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#982CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CB1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CB1#FFFFFF#000000##FFFFFF
##982CB11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3663AE
Tritanopia (blue-blind)
#98476D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982cb1;
/* rgb */ color: rgb(152, 44, 177);
/* oklch */ color: oklch(51.6% 0.209 319.2);
Tailwind
colors: {
  custom: {
    50: '#ba71c9',
    500: '#982cb1',
    950: '#000000',
  },
}
SCSS
$custom: #982cb1;
$custom-light: #ba71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#982cb1",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 288.722,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.20935,
    "h": 319.2
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#982CB1
secondary
#82C673
accent
#E34462
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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