#982FBF#982FBF

#982FBF is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.218 H 314.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#982FBF
RGBrgb(152, 47, 191)
HSLhsl(284, 61%, 47%)
HSVhsv(284, 75%, 75%)
CMYKcmyk(20.4%, 75.4%, 0%, 25.1%)
CIE-LABlab(41.95, 63.42, -54.85)
CIE-LCHlch(41.95, 83.85, 319.15°)
OKLaboklab(52.79% 0.1541 -0.1547)
OKLCHoklch(52.79% 0.218 314.9)
XYZxyz(23.3678, 12.4709, 50.4563)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FBF #56BF2F
analogous
#502FBF #982FBF #BF2F9E
triadic
#982FBF #BF982F #2FBF98
tetradic
#982FBF #BF502F #56BF2F #2F9EBF
square
#982FBF #BF502F #56BF2F #2F9EBF
split-complementary
#982FBF #9EBF2F #2FBF50
monochromatic
#4A175D #71238E #982FBF #B356D5 #C987E1

Accessibility & contrast

On white

6.01
#982FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#982FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FBF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FBF#FFFFFF#000000##FFFFFF
##982FBF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#954F75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982fbf;
/* rgb */ color: rgb(152, 47, 191);
/* oklch */ color: oklch(52.8% 0.218 314.9);
Tailwind
colors: {
  custom: {
    50: '#bb73d3',
    500: '#982fbf',
    950: '#000000',
  },
}
SCSS
$custom: #982fbf;
$custom-light: #bb73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#982fbf",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 283.75,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.21838,
    "h": 314.9
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#982FBF
secondary
#93CB7F
accent
#E4446F
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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