#982BB2#982BB2

#982BB2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.211 H 319.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#982BB2
RGBrgb(152, 43, 178)
HSLhsl(288, 61%, 43%)
HSVhsv(288, 76%, 70%)
CMYKcmyk(14.6%, 75.8%, 0%, 30.2%)
CIE-LABlab(40.60, 62.30, -49.37)
CIE-LCHlch(40.60, 79.50, 321.61°)
OKLaboklab(51.56% 0.1594 -0.1387)
OKLCHoklch(51.56% 0.211 319)
XYZxyz(21.8476, 11.6186, 43.2027)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BB2 #45B22B
analogous
#542BB2 #982BB2 #B22B88
triadic
#982BB2 #B2982B #2BB298
tetradic
#982BB2 #B2542B #45B22B #2B88B2
square
#982BB2 #B2542B #45B22B #2B88B2
split-complementary
#982BB2 #88B22B #2BB254
monochromatic
#44134F #6E1F81 #982BB2 #B848D3 #CB79DF

Accessibility & contrast

On white

6.32
#982BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#982BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BB2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BB2#FFFFFF#000000##FFFFFF
##982BB21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3463AF
Tritanopia (blue-blind)
#98476D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982bb2;
/* rgb */ color: rgb(152, 43, 178);
/* oklch */ color: oklch(51.6% 0.211 319.0);
Tailwind
colors: {
  custom: {
    50: '#ba70ca',
    500: '#982bb2',
    950: '#000000',
  },
}
SCSS
$custom: #982bb2;
$custom-light: #ba70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#982bb2",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 288.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.21124,
    "h": 319
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#982BB2
secondary
#82C772
accent
#E44463
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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