#982FB0#982FB0

#982FB0 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.205 H 319.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#982FB0
RGBrgb(152, 47, 176)
HSLhsl(289, 58%, 44%)
HSVhsv(289, 73%, 69%)
CMYKcmyk(13.6%, 73.3%, 0%, 31%)
CIE-LABlab(40.97, 60.52, -47.60)
CIE-LCHlch(40.97, 77.00, 321.81°)
OKLaboklab(51.78% 0.1558 -0.1335)
OKLCHoklch(51.78% 0.205 319.4)
XYZxyz(21.8009, 11.8441, 42.2037)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FB0 #47B02F
analogous
#572FB0 #982FB0 #B02F87
triadic
#982FB0 #B0982F #2FB098
tetradic
#982FB0 #B0572F #47B02F #2F87B0
square
#982FB0 #B0572F #47B02F #2F87B0
split-complementary
#982FB0 #87B02F #2FB057
monochromatic
#45154F #6E2280 #982FB0 #B74DCF #CB7DDC

Accessibility & contrast

On white

6.23
#982FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#982FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FB0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FB0#FFFFFF#000000##FFFFFF
##982FB01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#98496D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982fb0;
/* rgb */ color: rgb(152, 47, 176);
/* oklch */ color: oklch(51.8% 0.205 319.4);
Tailwind
colors: {
  custom: {
    50: '#ba72c8',
    500: '#982fb0',
    950: '#000000',
  },
}
SCSS
$custom: #982fb0;
$custom-light: #ba72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#982fb0",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 288.837,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.20522,
    "h": 319.4
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#982FB0
secondary
#85C576
accent
#E14763
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #982FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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