#982FB2#982FB2

#982FB2 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.207 H 318.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#982FB2
RGBrgb(152, 47, 178)
HSLhsl(288, 58%, 44%)
HSVhsv(288, 74%, 70%)
CMYKcmyk(14.6%, 73.6%, 0%, 30.2%)
CIE-LABlab(41.09, 60.90, -48.58)
CIE-LCHlch(41.09, 77.90, 321.42°)
OKLaboklab(51.91% 0.1557 -0.1364)
OKLCHoklch(51.91% 0.207 318.8)
XYZxyz(22.0002, 11.9238, 43.2535)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FB2 #49B22F
analogous
#572FB2 #982FB2 #B22F8B
triadic
#982FB2 #B2982F #2FB298
tetradic
#982FB2 #B2572F #49B22F #2F8BB2
square
#982FB2 #B2572F #49B22F #2F8BB2
split-complementary
#982FB2 #8BB22F #2FB257
monochromatic
#451551 #6F2282 #982FB2 #B64ED0 #CA7EDD

Accessibility & contrast

On white

6.20
#982FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#982FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FB2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FB2#FFFFFF#000000##FFFFFF
##982FB21.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3764AF
Tritanopia (blue-blind)
#984A6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982fb2;
/* rgb */ color: rgb(152, 47, 178);
/* oklch */ color: oklch(51.9% 0.207 318.8);
Tailwind
colors: {
  custom: {
    50: '#ba72ca',
    500: '#982fb2',
    950: '#000000',
  },
}
SCSS
$custom: #982fb2;
$custom-light: #ba72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#982fb2",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 288.092,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.20697,
    "h": 318.8
  },
  "luminance": 0.11923
}

Semantic roles & 50–950 ramp

primary
#982FB2
secondary
#87C677
accent
#E14665
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #982FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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