#982BC7#982BC7

#982BC7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.0% C 0.229 H 312.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#982BC7
RGBrgb(152, 43, 199)
HSLhsl(282, 64%, 47%)
HSVhsv(282, 78%, 78%)
CMYKcmyk(23.6%, 78.4%, 0%, 22%)
CIE-LABlab(42.04, 66.37, -59.37)
CIE-LCHlch(42.04, 89.05, 318.19°)
OKLaboklab(53.03% 0.1561 -0.168)
OKLCHoklch(53.03% 0.229 312.9)
XYZxyz(24.1197, 12.5274, 55.1692)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BC7 #5AC72B
analogous
#4A2BC7 #982BC7 #C72BA8
triadic
#982BC7 #C7982B #2BC798
tetradic
#982BC7 #C74A2B #5AC72B #2BA8C7
square
#982BC7 #C74A2B #5AC72B #2BA8C7
split-complementary
#982BC7 #A8C72B #2BC74A
monochromatic
#4B1562 #722095 #982BC7 #B255DA #C987E5

Accessibility & contrast

On white

5.99
#982BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#982BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BC7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BC7#FFFFFF#000000##FFFFFF
##982BC71.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#1265C4
Tritanopia (blue-blind)
#935179
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982bc7;
/* rgb */ color: rgb(152, 43, 199);
/* oklch */ color: oklch(53.0% 0.229 312.9);
Tailwind
colors: {
  custom: {
    50: '#bb71d9',
    500: '#982bc7',
    950: '#000000',
  },
}
SCSS
$custom: #982bc7;
$custom-light: #bb71d9;
$custom-dark: #000000;
JSON
{
  "hex": "#982bc7",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 199
  },
  "hsl": {
    "h": 281.923,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.22934,
    "h": 312.9
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#982BC7
secondary
#97CF7F
accent
#E74073
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #982BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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