#982BB4#982BB4

#982BB4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.213 H 318.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#982BB4
RGBrgb(152, 43, 180)
HSLhsl(288, 61%, 44%)
HSVhsv(288, 76%, 71%)
CMYKcmyk(15.6%, 76.1%, 0%, 29.4%)
CIE-LABlab(40.73, 62.68, -50.34)
CIE-LCHlch(40.73, 80.40, 321.23°)
OKLaboklab(51.69% 0.1591 -0.1415)
OKLCHoklch(51.69% 0.213 318.4)
XYZxyz(22.0499, 11.6995, 44.2679)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BB4 #47B42B
analogous
#532BB4 #982BB4 #B42B8B
triadic
#982BB4 #B4982B #2BB498
tetradic
#982BB4 #B4532B #47B42B #2B8BB4
square
#982BB4 #B4532B #47B42B #2B8BB4
split-complementary
#982BB4 #8BB42B #2BB453
monochromatic
#451351 #6E1F83 #982BB4 #B749D3 #CB7ADF

Accessibility & contrast

On white

6.29
#982BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#982BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BB4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BB4#FFFFFF#000000##FFFFFF
##982BB41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#3263B1
Tritanopia (blue-blind)
#97486E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982bb4;
/* rgb */ color: rgb(152, 43, 180);
/* oklch */ color: oklch(51.7% 0.213 318.4);
Tailwind
colors: {
  custom: {
    50: '#ba70cb',
    500: '#982bb4',
    950: '#000000',
  },
}
SCSS
$custom: #982bb4;
$custom-light: #ba70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#982bb4",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 287.737,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.21295,
    "h": 318.4
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#982BB4
secondary
#85C773
accent
#E54364
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #982BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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