#982BC2#982BC2

#982BC2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.225 H 314.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#982BC2
RGBrgb(152, 43, 194)
HSLhsl(283, 64%, 46%)
HSVhsv(283, 78%, 76%)
CMYKcmyk(21.6%, 77.8%, 0%, 23.9%)
CIE-LABlab(41.69, 65.38, -57.03)
CIE-LCHlch(41.69, 86.76, 318.90°)
OKLaboklab(52.67% 0.157 -0.1611)
OKLCHoklch(52.67% 0.225 314.3)
XYZxyz(23.5487, 12.2990, 52.1620)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BC2 #55C22B
analogous
#4D2BC2 #982BC2 #C22BA1
triadic
#982BC2 #C2982B #2BC298
tetradic
#982BC2 #C24D2B #55C22B #2BA1C2
square
#982BC2 #C24D2B #55C22B #2BA1C2
split-complementary
#982BC2 #A1C22B #2BC24D
monochromatic
#49155E #712090 #982BC2 #B352D9 #C984E4

Accessibility & contrast

On white

6.07
#982BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#982BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BC2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BC2#FFFFFF#000000##FFFFFF
##982BC21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#1E65BF
Tritanopia (blue-blind)
#944F76
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982bc2;
/* rgb */ color: rgb(152, 43, 194);
/* oklch */ color: oklch(52.7% 0.225 314.3);
Tailwind
colors: {
  custom: {
    50: '#bb71d5',
    500: '#982bc2',
    950: '#000000',
  },
}
SCSS
$custom: #982bc2;
$custom-light: #bb71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#982bc2",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 283.311,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.225,
    "h": 314.3
  },
  "luminance": 0.12298
}

Semantic roles & 50–950 ramp

primary
#982BC2
secondary
#92CD7C
accent
#E7416F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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