#982FBD#982FBD

#982FBD is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.217 H 315.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#982FBD
RGBrgb(152, 47, 189)
HSLhsl(284, 60%, 46%)
HSVhsv(284, 75%, 74%)
CMYKcmyk(19.6%, 75.1%, 0%, 25.9%)
CIE-LABlab(41.82, 63.03, -53.89)
CIE-LCHlch(41.82, 82.93, 319.47°)
OKLaboklab(52.65% 0.1544 -0.152)
OKLCHoklch(52.65% 0.217 315.5)
XYZxyz(23.1492, 12.3834, 49.3051)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FBD #54BD2F
analogous
#512FBD #982FBD #BD2F9B
triadic
#982FBD #BD982F #2FBD98
tetradic
#982FBD #BD512F #54BD2F #2F9BBD
square
#982FBD #BD512F #54BD2F #2F9BBD
split-complementary
#982FBD #9BBD2F #2FBD51
monochromatic
#49175B #71238C #982FBD #B355D5 #C986E1

Accessibility & contrast

On white

6.04
#982FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#982FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FBD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FBD#FFFFFF#000000##FFFFFF
##982FBD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2B65BA
Tritanopia (blue-blind)
#954E74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982fbd;
/* rgb */ color: rgb(152, 47, 189);
/* oklch */ color: oklch(52.7% 0.217 315.5);
Tailwind
colors: {
  custom: {
    50: '#bb73d2',
    500: '#982fbd',
    950: '#000000',
  },
}
SCSS
$custom: #982fbd;
$custom-light: #bb73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#982fbd",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 284.366,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.21662,
    "h": 315.5
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#982FBD
secondary
#92CA7E
accent
#E3446E
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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