#982FB8#982FB8

#982FB8 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.212 H 316.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#982FB8
RGBrgb(152, 47, 184)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 72%)
CMYKcmyk(17.4%, 74.5%, 0%, 27.8%)
CIE-LABlab(41.49, 62.05, -51.50)
CIE-LCHlch(41.49, 80.64, 320.31°)
OKLaboklab(52.31% 0.155 -0.1449)
OKLCHoklch(52.31% 0.212 316.9)
XYZxyz(22.6158, 12.1701, 46.4959)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FB8 #4FB82F
analogous
#532FB8 #982FB8 #B82F94
triadic
#982FB8 #B8982F #2FB898
tetradic
#982FB8 #B8532F #4FB82F #2F94B8
square
#982FB8 #B8532F #4FB82F #2F94B8
split-complementary
#982FB8 #94B82F #2FB853
monochromatic
#471657 #702387 #982FB8 #B552D3 #C982DF

Accessibility & contrast

On white

6.12
#982FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#982FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FB8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FB8#FFFFFF#000000##FFFFFF
##982FB81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#964C72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982fb8;
/* rgb */ color: rgb(152, 47, 184);
/* oklch */ color: oklch(52.3% 0.212 316.9);
Tailwind
colors: {
  custom: {
    50: '#ba72ce',
    500: '#982fb8',
    950: '#000000',
  },
}
SCSS
$custom: #982fb8;
$custom-light: #ba72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#982fb8",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 285.985,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.21221,
    "h": 316.9
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#982FB8
secondary
#8DC87B
accent
#E2456A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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