#982CB3#982CB3

#982CB3 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.211 H 318.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#982CB3
RGBrgb(152, 44, 179)
HSLhsl(288, 61%, 44%)
HSVhsv(288, 75%, 70%)
CMYKcmyk(15.1%, 75.4%, 0%, 29.8%)
CIE-LABlab(40.79, 62.15, -49.67)
CIE-LCHlch(40.79, 79.56, 321.37°)
OKLaboklab(51.71% 0.1584 -0.1395)
OKLCHoklch(51.71% 0.211 318.6)
XYZxyz(21.9852, 11.7325, 43.7456)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CB3 #47B32C
analogous
#542CB3 #982CB3 #B32C8A
triadic
#982CB3 #B3982C #2CB398
tetradic
#982CB3 #B3542C #47B32C #2C8AB3
square
#982CB3 #B3542C #47B32C #2C8AB3
split-complementary
#982CB3 #8AB32C #2CB354
monochromatic
#451451 #6E2082 #982CB3 #B74AD2 #CB7BDF

Accessibility & contrast

On white

6.28
#982CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#982CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CB3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CB3#FFFFFF#000000##FFFFFF
##982CB31.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3464B0
Tritanopia (blue-blind)
#97486E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982cb3;
/* rgb */ color: rgb(152, 44, 179);
/* oklch */ color: oklch(51.7% 0.211 318.6);
Tailwind
colors: {
  custom: {
    50: '#ba71ca',
    500: '#982cb3',
    950: '#000000',
  },
}
SCSS
$custom: #982cb3;
$custom-light: #ba71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#982cb3",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 288,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.21106,
    "h": 318.6
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#982CB3
secondary
#85C774
accent
#E44464
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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